Question: C++ program So I complied my program but I when I run it, all it does is asks for the age but it wont enter

C++ program

So I complied my program but I when I run it, all it does is asks for the age but it wont enter the while loop and I dont know why, even when pressing enter alot of times.

C++ program So I complied my program but I when I run

So when I run my program all it does is asks for the age but it wont enter the while loop, and I have no idea why.

include >age; while(age-0) total+-age; ifCage-18) else if(age>oldest) else adults++; minors++; oldest = age; youngest = age; 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!