Question: C++ Questions 1) Ask a user to enter a string Ask the user to which way it should be converted: all upper or all lower

C++ Questions

1)

Ask a user to enter a string

Ask the user to which way it should be converted: all upper or all lower

Convert the string accordingly and display the result

2)

Tell a user to guess a number between 1 and 10

Generate a random number between 1 and 10

If the user guessed it correctly, tell it to user and end the game

If the user guessed it incorrectly, tell the user to guess againuntil the user gets it right

3)

Ask a user to enter a number (less than 20)

Print a list numbers from that number down to 0.

One number per line or all the numbers on one line (with a space in between numbers)

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!