Date: Wed, 11 Dec 1996 22:32:54 GMT Server: NCSA/1.5 Content-type: text/html Last-modified: Fri, 20 Sep 1996 20:24:05 GMT Content-length: 4259
This is not simply a case of addition, because you need to keep in mind the following rules for clocks:
So you're going to have to handle
Try doing out some examples on paper before you start writing the program. It will help you quite a bit. Hint: The MOD statement may help you.
Your files are timestamped with the current time when you copy them to your handin directory. This will be used to check they were handed in on time or whether late day penalties apply. Important - Make sure you copy the correct versions of your program files because these are what will be graded.
You also have to hand in a printed copy of your FORTRAN source code file and a printed copy of the output when your program is run with the five sets of test data given in the gradesheet.
Correct Output [18] time = 10 hr, 20 min, add 1 hr, 5 min [3] time = 9 hr, 7 min, add 4 hr, 6 min [3] time = 8 hr, 27 min, add 2 hr, 47 min [3] time = 11 hr, 47 min, add 1 hr, 17 min [3] time = 10 hr, 36 min, add 1 hr, 36 min [3] time = 12 hr, 18 min, add 1 hr, 65 min [3] User Interface [8] Useful prompts for inputting times [4] Meaningful display of final time [4] Implementation [18] Correct implementation of formulas [7] Correct use of FORTRAN statements [7] Meaningful variable names [2] Indenting and neatness [2] Documentation [6] Program description [3] Variable definitions and section comments [3] ____________________________________________________________________ Total (3%) [50]