Question: (c++) 2- Write the C++ code for the next problem: Ask the user about his age in years, then display his age in months, days,
2- Write the C++ code for the next problem: Ask the user about his age in years, then display his age in months, days, and hours. (Year =12 Months =365 Days = 36524 Hours) Make this program does not accept negative values (Display an error message if the user enters his age smaller than Zero)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
