Question: 3. Write a C++ program based on following pseudocode. Set total to zero Set counter to zero Input the score While score is NOT equal

 3. Write a C++ program based on following pseudocode. Set total

3. Write a C++ program based on following pseudocode. Set total to zero Set counter to zero Input the score While score is NOT equal to 1 Add the score into the total Add one to counter Input the next score Calculate the average Print the average 4. Answer the following question. Write a C++ program segment to accept the age and status ( M=Married/S=Single ) of employees by using sentinel-controlled loop. The program will count and display the total number of single employees who are more than 35 years old. The program will stop when the user enters 1 for the age

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!