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 sothat I can do others like it on my own PLEASE PAYATTENTION TO THE TEST CASE PROVIDED the end result MUST look exactlylike the test case shown, same spacing, same alignment, same numbers, etcI cannot use "break;" to get out of loops WE MUST USEA DO WHILE LOOP IN 2 DIFFERENT PLACES Here is the problem

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 PLEASE PAY ATTENTION TO THE TEST CASE PROVIDED the end result MUST look exactly like the test case shown, same spacing, same alignment, same numbers, etc I cannot use "break;" to get out of loops WE MUST USE A DO WHILE LOOP IN 2 DIFFERENT PLACES Here is the problem given: Open evenOddDo While.cpp and edit this program so that the program will reject bad answers (anything other than Y, y, N or n). Your program should allow the user to answer with Y and N (uppercase) as well as y and n (lowercase) To reject bad answers, use the do while loop. You are asking the user to enter her answer (Y, y N, or n) in 2 different places. You need to use the do while loop around each of them. Below is the program we are meant to edit: #include #include using namespace std; int main() int num; int odd int even 0; int sum0; int count double avg char ch; cout > num; sum sum+num ; count +t i f (num%2-0) cout >ch; if (count-0) cout

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!