/* WAP to Print the age of person in days */
#include<stdio.h>
#include<conio.h>
main()
{
int age,days;
printf("Enter your age:");
scanf("%d",&age);
days=age*365;
printf("You are %d days old.\n",days);
getch();
}
/* WAP to Print the age of person in days */
#include<stdio.h>
#include<conio.h>
main()
{
int age,days;
printf("Enter your age:");
scanf("%d",&age);
days=age*365;
printf("You are %d days old.\n",days);
getch();
}
0 comments:
Post a Comment