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 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
Get step-by-step solutions from verified subject matter experts
