+ 1

C program to print following output by using nested while loop

********** **** **** *** *** ** ** * *

13th Mar 2021, 3:04 PM
Suhel Nadaf
Suhel Nadaf - avatar
12 Respuestas
+ 3
Please write language name in tags instead of "please solve this". Try to understand what i did in the following code and be more specific from next time with your attempt added in description. for(i=0;i<5;i++) { for(j=0;j<5-i;j++) printf("%c", '*') ; for(k=0;k<i*2;k++) printf("%c", ' ') ; for(l=0;l<5-i;l++) printf("%c", '*') ; printf("\n") ; }
13th Mar 2021, 3:28 PM
Abhay
Abhay - avatar
+ 3
Suhel Nadaf Where is your attempts?
13th Mar 2021, 3:43 PM
A͢J
A͢J - avatar
+ 3
Suhel Nadaf Ok then show your code.
13th Mar 2021, 3:49 PM
A͢J
A͢J - avatar
+ 3
Suhel Nadaf Just go on Sololearn website. Login with your account and Go in Code section. Create new code and save your code.
13th Mar 2021, 4:04 PM
A͢J
A͢J - avatar
14th Mar 2021, 6:00 AM
Ankit Kumar
Ankit Kumar - avatar
+ 1
I tried but not solve this
13th Mar 2021, 3:48 PM
Suhel Nadaf
Suhel Nadaf - avatar
+ 1
I tried on turbocdroid on Android mobile how I insert the code screenshot
13th Mar 2021, 3:52 PM
Suhel Nadaf
Suhel Nadaf - avatar
+ 1
Ok
13th Mar 2021, 4:06 PM
Suhel Nadaf
Suhel Nadaf - avatar
+ 1
This code print this pattern
14th Mar 2021, 6:00 AM
Ankit Kumar
Ankit Kumar - avatar
+ 1
Thanks
14th Mar 2021, 6:14 AM
Suhel Nadaf
Suhel Nadaf - avatar
+ 1
Try printf("*********") +"\n"; printf("**** ****") +"\n"; and so on... ⌨
15th Mar 2021, 1:03 PM
Sanjay Kamath
Sanjay Kamath - avatar
- 2
By using nested while loop please
13th Mar 2021, 3:38 PM
Suhel Nadaf
Suhel Nadaf - avatar