CS 1620 Assignment #4 Summer I 1999
Due: Monday June 7, 1999 at midnight
Weight: 5%
Late Penalty: -20% per day late
- [20] Make the following modifications to your weight converter
program from assignment #3.
- ensure that only weights greater than 0 are entered
- the program should continue asking for new weights until the user
wishes to stop
- instead of converting the input weight to the corresponding weight
for all planets, just convert to the weight on a single planet of
the users choice. If no planet is given, convert to
earth weight( i.e. no conversion)
- format the weights to show exactly 2 decimals.
- [30] Page 359 #21.
Total marks -- 50
Computer Science 1620
Department of Mathematics & Computer Science
University of Lethbridge Home Page