Prev Up Next
Go backward to 6.6 Robots
Go up to 6 Labs
Go forward to 6.8 Streams

6.7 Decision Trees and Modulus Arithmetic

Write a program that converts a number to a day and month. The program needs to: Your program should work through the year 2099. The year 2100 is not a leap year and does NOT need to be accounted for.

Run your program with the following test numbers: 1, 365, 3612, 7500, 15000.

Mark your output with:

Place the lab in the instructor hand in box in BUS R6E, the "terminal room".
Instructor: ltaber@pima.edu** Red's Home page** The Pima College Site

Prev Up Next