Computer Science, asked by lipakshigijwani6910, 8 months ago

Write a java program to display all multiples of 4 upto the range 50

Answers

Answered by harshithar2006
2

Answer:

class multiple

{

void main ( )

{

System.out.println ("Multiples of 4 upto range 50 are ");

for (int number=0; number<50; number++)

{

if (number%4==0)

{ System.out.print (number); }

}

}

}

hope it helps..

Similar questions