CS 1620 Solution # 3 Fall 2000


  1. round.cc Program to round a number to 2 decimals.
  2. mileage.cc - Program to compute gas mileage (or kilometerage!!!).
  3. stocks.cc - Program to compute stock prices as decimals instead of as fractions.
  4. inflation.cc - Program to compute the inflation rate and estimate future prices.

Solution List | Prev | Next | Computer Science 1620
Department of Mathematics & Computer Science
University of Lethbridge Home Page