Computer Science, asked by helloharish953, 11 months ago

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 tabishqdb105
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 ItzMeSam35
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