Lab 3

The purpose of this lab is to give you some experience with type conversion and type casting.

When you finish this lab you should:

  1. See the effects of integer division
  2. See the effects of type casting
  3. See a roundoff error.

Write a program, this program has no purpose other then demonstrating the above concepts. Feel free to add other assignment and output statements to help you understand the concept.

For each section, add comments answering the question (what happened and why).

When you have finished this program, email the .C file to dbennett@edinboro.edu.