Computer Science, asked by kruti1046, 2 months ago

Display following output by using for ... loop.
* * *
* * *
* * *

Answers

Answered by jeromeseejo73
4

Answer:

public class pattern

{

public static void main(String[] args)

{

   int i,j;

   for(i=0;i<=2;i++)

   {

    for(j=0;j<=2;j++)  

    {

     System.out.print("*");

    }

    System.out.println();

   }

   

}

}

Similar questions