Search (Article Or Program)

18 June 2011

Age in Minutes Program

#include
#include
main()

{
clrscr();
float years,minuts;
printf("\t\t********** calculate age in minutes **********\n\n\n\n\n ");
printf("\tPlease type your age in years : ");
scanf("%f",&years);
minuts=years*365*24*60;
printf("\n\n\tYou are %.1f minutes old.",minuts);
getch();
}