Write a program in Java to display the following pattern :
@ @ @ @ @
@ @ @ @ @
@ @ @ @ @
pls answer asap
Answers
Answered by
10
Answer:
class pattern
{
public static void main (String args[])
{
int x,y;
for(x=0; x<3; x++)
{
for(y=0; y<3; y++)
{
System.out.print( "@" );
}
System.out.println( );
}
}
}
Similar questions