#include main() { int rc; int curr_year, birth_year, age; char fi, li, temp; float ftemp, ctemp; curr_year = 2003; printf("Please enter your first and last initials: "); rc = scanf("%c%c", &fi, &li); if (!isalpha(fi) || !isalpha(li) || !isupper(fi) || !isupper(li)) { printf("Must use upper case letters for first and last initials\n"); exit(1); } printf("Please enter your birth year: "); scanf("%d", &birth_year); if ((birth_year >= curr_year) || (birth_year < 0)) { printf("Must have been born previous to the current year and after year -1\n"); exit(1); } printf("Please enter your current body temp (in fahrenheit): "); scanf("%f", &ftemp); if (ftemp < 0) { printf("Body temp must be positive\n"); exit(1); } ctemp = (5*(ftemp - 32))/9; age = curr_year - birth_year; printf("Well, %c.%c., it seems as though you are now age %d. And in case you were wondering, your body temp, in celsius, is %f.\n", fi, li, age, ctemp); }