Question: code in c++ HW_6 (a,b,c) (3 parts) HW_6a - Do Your Homework - (Using a count-controlled while loop) - Write a program that asks the

code in c++  code in c++ HW_6 (a,b,c) (3 parts) HW_6a - "Do Your
Homework" - (Using a count-controlled while loop) - Write a program that
asks the user how many times he or she would like to
be reminded to do homework. -Ask the user how many times to

HW_6 (a,b,c) (3 parts) HW_6a - "Do Your Homework" - (Using a count-controlled while loop) - Write a program that asks the user how many times he or she would like to be reminded to do homework. -Ask the user how many times to be reminded to do your homework. - After the user enters a number, the program displays "Do your homework!" the number of times. - Use a while loop to output the phrase repeatedly. - Make sure to include a condition that will stop the loop when the desired number of phrases have been output. /* Output: How many times do you need to be reminded? 5 B (User enters 5) #1: #2: #3: #4: #5: Do your homework! Do your homework! Do your homework! Do your homework! Do your homework! Press any key to continue */ HW_6b - "Display the alphabet Use a do-while loop and if statements to complete this assignment. Write a program that first prompts the user. "Do you want to see the alphabet in (U)ppercase or (1) owercase?" -If the letter input by the user is either a U or u, then the alphabet is displayed on the screen in uppercase letters. (see output below) But, if the input letter is either an l'or T. then the alphabet is displayed in lowercase letters. Otherwise, if the letter is not one of the above choices (U, u, L. 1), a message is displayed on the screen that tells the user: "The entry is incorrect." Use an if-else if-else control structure to determine what to output, based on the user's choice. Include a do-while loop within the if block to output the uppercase letters. Likewise, within the else if block use a do-while loop to output the lowercase letters. letter = Here is part of the code (if user enters U): TA': do } while (letter

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!