Hi Can anyone Help me for the program in C
Using Looping Statement Create A program That Input A number And Then Convert It in
Asterisk using looping statement..eg input number 5 and the output is the 5 asterisk(*****)..help me plss...:icon_smile:
chi18
0
Newbie Poster
Recommended Answers
Jump to PostExactly what you want to do... if you just want to print * then it could be done by using a loop. scan a value from the user and run your loop like this..
int i,num; // input a value here from user in num.. for(i=1;i<=num;i++) putchar('*');
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.