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 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)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
