Display following output by using for ... loop.
* * *
* * *
* * *
Answers
Answered by
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
English,
2 months ago
English,
2 months ago
English,
2 months ago
Computer Science,
6 months ago
Computer Science,
6 months ago
Biology,
11 months ago