Age at Graduation due today
CSCD255 – C Programming for Engineers 7/2/2018
Ritchie and Kernigan
Assignment 1 – Age at Graduation
See Canvas for due date
This assignment determines a student’s age at graduation based on birthdate and graduation date.
In this initial C program you’re asked to:
· Prompt the ‘user’ for date of birth and date of graduation
· Read the user’s input into your program
· Condition the input data so it can be used for numeric comparison
· Calculate the user’s age at graduation time
· Display the calculated age on the screen
Extra Credit (5 points)
· Also calculate and display the number of months in addition to the number of years.
Include comments in your program to:
· Identify the program’s assignment number and purpose
· Your name
Name your .c file “gradAge.c” and submit to Canvas.