Answer:
#include <iostream>
using namespace std;
int main()
{
double year;
cout<<"Enter the number of years"<<endl;
cin>>year;
int month=year*12;
int days=year*365;
int hrs= year*(365*12);
int mins= year*(365*12*60);
int secs= year*(365*12*60*60);
cout<<"Months "<<month<<endl;
cout<<"Days "<<days<<endl;
cout<<"Hours "<<hrs<<endl;
cout<<"Minutes "<<mins<<endl;
cout<<"Secs "<<secs<<endl;
cin>>month;
}
Explanation: