the method should printout line




The method should printout line numbers from 1 to howmany in the previous format -ONLY WHEN is divisble by 3 but is should not oupt more then 3 numbers on the line.

input 1

output input is not divisible by 3

input 3

output [1] (2) <3>

input 4

output input is not divisible by 3

input 6

output [1] (2) <3>

[4] (5) <6>

input 9

output

output [1] (2) <3>

[4] (5) <6>

[7] (8) <9>

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: the method should printout line
Reference No:- TGS0159519

Expected delivery within 24 Hours