+ 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

26th Aug 2021, 9:47 AM
Bashir Kabiru Haruna
Bashir Kabiru Haruna - avatar
2 odpowiedzi
+ 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
26th Aug 2021, 10:06 AM
Rik Wittkopp
Rik Wittkopp - avatar
0
11th Mar 2022, 3:48 PM
Aditya Singh