C Program Age Years to Days
#include <stdio.h> int main() { int years, days; printf("Enter Your Age in Years="); scanf("%d", &years); days = years * 365; printf("%d Years are equal to %d Days", years, days); return 0; }
Output
Enter Your Age in Years=45
45 Years are equal to 16425 Days
Press Enter to return to Quincy…