CS 1620 Solution # 5 Fall 2000


  1. DR. Chali's solutions
    1. zahra.cc -- houlihan translator.
    2. round.cc -- round to a specified number of decimals
    3. gcd.cc -- find the greatest common divisor.
    4. inventory.cc -- soft drink inventory program
    5. exponential.cc -- compute e^x

  2. Rex's solutions
    1. zahra.cc -- houlihan translator.
    2. round to a specified number
      • round.cc -- using a loop to multiply by the correct power of 10
      • round.cc -- using pow to multiply by the correct power of 10
    3. gcd.cc -- find the greatest common divisor.
    4. inventory.cc -- soft drink inventory program
    5. exponential.cc -- compute e^x

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