Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning ASP.NET 4.5 Databases

Authors: Sandeep Chanda, Damien Foggon

3rd Edition

1430243805, 978-1430243809

More Books

Students also viewed these Databases questions

Question

=+Construct a data- and research-driven SWOT analysis

Answered: 1 week ago

Question

=+Who are our customers?

Answered: 1 week ago

Question

=+What are our goals presently?

Answered: 1 week ago