Question: Here is a program that checks if a person's age is eligible to receive Social Security benefits. Which of the following statements are true (
Here is a program that checks if a person's age is eligible to receive Social Security benefits. Which of the following statements are true Select all that apply
int number ;
while number
cout What is your age?
;
cin number;
if number
cout "You are eligible for SS endl;
else if number
cout Your are not eligible for SS endl;
number ;
Program handles garbage input effectively.
The program could enter into an infinite loop.
The program will work only if the user enters integer number.
The program will execute flawlessly
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
