University of Calgary

problem: what day is it?


What Day
 
Description:
Write a program that prompts the user to enter a date in terms of year, month, day (e.g. 1979, 03, 11). With these numbers calculate what day of the week the date falls on.

Requirements:
Prompt the user to enter a date
Calculate the day of the week the date falls on
 
Your output may look similar to this:
    Welcome to Tino's Day Finder
    ----------------------------
    Given a specific date, this program will find the day of the week


    Enter the Year: 1979
    Enter the Month: 03
    Enter the Day: 11


    11 March 1979 was a Sunday

Concepts:
Standard Input/Output
Functions
Algorithm

Updated: August 5, 2005 05:04 PM