Question: PLEASE READ We are working on making simple C++ programs using Putty I need help understanding how to do the problem below so that I

 PLEASE READ We are working on making simple C++ programs usingPutty I need help understanding how to do the problem below so

PLEASE READ We are working on making simple C++ programs using Putty I need help understanding how to do the problem below so that I can do others like it on my own. Thank you in advance! Here is the problem given: Sample run: Do you have an age to enter? y or n: y Enter an age: 5 Do you have another age to enter? y or n: Y Enter an age: 30 Do you have another age to enter? y or n: y Enter an age:0 Do you have another age to enter? y or n: n Code char answer; //, Y or n, N int age: int total-0; 1/total age int count-0; 1/the number of ages entered while(B) What goes in sections A, B, C and D? total age; count++

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!