100 200 300 400 500
100 200 300 400 500
100 200 300 400 500
100 200 300 400 500
100 200 300 400 500 To print in Java program
Answers
Answered by
4
Answer:
I'm just writing the main syntax
Explanation:
for(int i=0;i<=5;i++){
System.out.println("100 200 300 400 500");
}
Answered by
2
import java.util.*;
public class pattern
{
public static void main (String args [])
{
for (int i = 1 ; i<=5 ; i++)
{
for (int j = 1 ; j<=5 ; j++)
{
System.out.print(i*100+" ");
}
System.out.println();
}
}
}
Similar questions