Variable Description

int d1:for storing the date of birth. int m1:for storing the month of birth. int y1:for storing the year of birth. int d2:for storing present date. int m2:for storing present month. int y2:for storing present year. int d:for storing the number of days the person has lived. int m:for storing the number of months the person has lived. int y:for storing the number of years the person has lived. int date:for checking the validity of the entered data.

Sign up to vote on this title
UsefulNot useful

Master Your Semester with Scribd & The New York Times

Special offer for students: Only $4.99/month.

Master Your Semester with a Special Offer from Scribd & The New York Times

Cancel anytime.