for loop pattern in c! check this code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

for loop pattern in c! check this code

********** ******** ****** **** ** * that will reduce two stars in every row! #include<strip.h> void main() { for(int i=1;i<=5;i++) { for(int j=9;j>=i;j--) { printf("*"); } Printf("/n"); } its simple code edit this and write the pattern that I mentiond!

19th Apr 2017, 5:44 PM
Abrar Hussain
Abrar Hussain - avatar
1 Answer
0
this code have no error ! you just edit and make the pattern that I'm mentiond above
19th Apr 2017, 6:11 PM
Abrar Hussain
Abrar Hussain - avatar