header

Homework 2

Output Requirements

Display a person's name and his or her age in days.

Input Requirements

Using interactive input techniques, obtain a person's name (may be two or more words) and his or her age in years (an integer).

Processing Requirements

The age in days is the age in years multiplied by 365. (Technically, this is not correct because it doesn't take into account leap year. But then we are not taking into account fractional years either.)

Format Requirements

Your program input and output sections should be formatted as shown in the screen shot below.

Screen Shot

Save your program file as "Hmwk02.cpp" and send it to me as an email attachment.