Question: c++ Write a program that outputs hello to the user as many times as specified. So ask the user how many times to repeat the

c++

Write a program that outputs hello to the user as many times as specified. So ask the user how many times to repeat the greeting, then use a loop to output it that many times. For an extra challenge, alternate between capital and lower-case words, such as:

 How many times should I say hello? 6 hello HELLO hello HELLO hello HELLO 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!