Question: Question 1 1) Write a program in C++ that take three scores from user and calculate the average using do-while loop. It repeats as many

Question 1

1) Write a program in C++ that take three scores from user and calculate the average using do-while loop. It repeats as many times as the user wishes. The program only terminates when a user press N and Y to continue again any other character should display invalid character.

2)If a five-digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits. For example, if the number that is input is 12391, then the output should be displayed as 23502.

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!