Respuesta :

Answer:

Explanation:

We must create a cycle for to count 5 by 5 then a with a conditional if, we are going to identify every multiple of 50 to start in a new line.

class Count{

public static void main(String[] args){

for(int i=5; i<=500; i+=5){

System.out.print(i + " ");

if(i%50==0)

System.out.println();

}

}

}