Guys plz help me in this question...
-Write a program using nested loop to a print pattern like
@ @ @ @ @
@ @ @ @
@ @ @
@ @
@
jainaditya0411:
which programming language
Answers
Answered by
1
#include <stdio.h>
void main()
{
int i,r;
for(i=5;i>=1;i--)
{
r=i;
for(;r>=1;r--)
{
printf("@");
}
printf("\n");
}
}
Similar questions