write a program to display the character in the given format.
1.) 12345. 2.)@@@@@
@@@@
@@@
@@
@
23456
34567
45678
56789
Answers
Answered by
0
Answer:
this is for Java
1)
class pg1
{
public static void main( )
{
for(i=5;i<1;i=i+1)
{
for(j=1;j=i;j=j+1)
System.out.print("@");
}
System.out.println( );
}
}
Similar questions