Main()
{
long int age,mon,days;
clrscr();
printf(“Enter age in years ?”);
scanf(“%d”,& age );
mon=age*12;
days=age*365;
gotoxy(35,12);
printf(“Age in months = %d”, mon);
gotoxy(35,13);
printf(“Age in days =%d”,days);
getch();
}
Posted by: Wasim Javed
No comments:
Post a Comment