Answer to Question #14867 in C++ for arif hussain
Write a program to get age (in years) of a person (input taken from the user). Calculate the age in months, days & hours and then print all these on the screen
using namespace std;
cout<<"Enter your age in years: ";
& cout<<"\nYour age in months: "<<q;
cout<<"\nYYour age in days: "<<j;
cout<<"\nYour age in hours: "<<w<<"\n\n";
No comments. Be first!