Question: Exercise #2: Write a C++ program that prompts the user to input the age of a person in days. The program converts and prints the

 Exercise #2: Write a C++ program that prompts the user to

Exercise #2: Write a C++ program that prompts the user to input the age of a person in days. The program converts and prints the age in years, months, and days, assuming that 1 year has 365 days and 1 month has 30 days Sample input/output: ter the age in days 1323 n age of 1323 days is 3 years. 7 months. and 18 days Write your algorithms below

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!