+ 1
declare a variable that has the age of a person and print user's name as many times as the age in c program
3 Answers
+ 2
Bashir Kabiru Haruna
Do you have a concept to share with us? Please post here.
I would suggest you create a variable which can take a user input integer.
Also create variable taking user input for name
Then create a for loop using the variable to dictate the number of iterations.
Each iteration, print name
0