For programmers, testers and tech geeks

Convert Age into Days and Months by using C++

#include<iostream>
#include<conio.h>
using namespace std;
void main()
{
    int age,days,months;
    cout<<"Enter your Age =";
    cin>>age;
    days=age*365;
    months=age*12;
    cout<<"Days ="<<days<<endl<<"Months ="<<months;
    getch();
}