Computer Science, asked by Ashe, 1 year ago

Guys plz help me in this question...
-Write a program using nested loop to a print pattern like
@ @ @ @ @
@ @ @ @
@ @ @
@ @
@


jainaditya0411: which programming language
Ashe: I'm studying about Java programing language
Ashe: but this question is from c++ programming language
jainaditya0411: i can answer in C
Ashe: plz answer

Answers

Answered by jainaditya0411
1

#include <stdio.h>

void main()

{

int i,r;

for(i=5;i>=1;i--)

{

 r=i;

 for(;r>=1;r--)

 {

  printf("@");

 }

 printf("\n");

}

}


jainaditya0411: If I leave ; then it will be error
jainaditya0411: now pls mark me brainliest
Ashe: only uhh have answered this question.How can I mark uhh as brainliest
jainaditya0411: pls
jainaditya0411: I beg you
jainaditya0411: I need only 1 brainliest answer to reach next rank
jainaditya0411: It won't be any loss to you anyway
jainaditya0411: plsssssssssssssssssss
Ashe: but there is no option for for marking uhh as brainliest
jainaditya0411: I must be below the answer
Similar questions