How to write code of this in c language | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to write code of this in c language

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

7th Apr 2021, 3:11 AM
Harsh Singh
Harsh Singh - avatar
4 Answers
+ 4
Why are people downvoting Daniel Briceño 's answer? It does the job... Harsh Singh If you want a better answer than that, you need to show your attempt at solving the problem.
7th Apr 2021, 3:35 AM
XXX
XXX - avatar
+ 3
As @Daniel Briceño said, thats the best efficient (fastest with less computer resources) way to print your ouput.. 👍
7th Apr 2021, 3:42 AM
KingDaniel2004
KingDaniel2004 - avatar
+ 2
#include <stdio.h> int main(int number,char* argument[]){ printf("" "*\n" " ***\n" " ****\n" " **\n" " *"); return 0; }
7th Apr 2021, 3:18 AM
Daniel Briceño
Daniel Briceño - avatar
+ 1
Harsh Singh This is your solution. Now add space before * https://code.sololearn.com/cFMmL2l6Zb4b/?ref=app
7th Apr 2021, 4:38 AM
A͢J
A͢J - avatar