CS 1620 Assignment #6 Fall 2000

How to handin.
Points : 45
Due : Thursday Nov 9, 2000 @ midnight
Note : Late assignments will be accepted only with the instructor's pre-approval.
Marks will be awarded for comments, style, readability, compiling and working correctly.
All programs should loop until the user wants to quit.
  1. [15] Problem 4 page 378 in the textbook

  2. [15] Write a function that takes two dates as inputs and returns their difference. A date consists of three intgers, i.e., month, day and year. The difference should be in days and and also in years, months, and days. Write a driver to test your function.

  3. [15] Write a function that takes two large numbers, i.e., numbers that cannot be represented using a numeric data types, and returns their sum and their difference. You should always subtract the smaller number from the larger one. Write a driver to test your function.

Assignment List | Next | Prev | Computer Science 2620
Department of Mathematics & Computer Science
University of Lethbridge Home Page