Question: Write a program with C ++ with chains that asks for the full name, marital status, you will only have two options S (single) or

Write a program with C ++ with chains that asks for the full name, marital status, you will only have two options S (single) or m (married) and the age of the person, using character string, convert age to numeric and compare, if the age is over 25 years old print the full name and also if you are single or married according to the character entered, otherwise only print the initial of your name

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!