
Lesson 3-1: Check Prelab Exercises
Numeric Types, Expressions, and Output | 53
Name __________________________________________ Date _______________________
Section _________________________________________
Exercise 1: Run program Pres to check your answers. Were your answers completely correct? If
they were not, explain what was wrong.
Exercise 2: Run program Format to check your answers Were your answers completely correct? If
they were not, explain what was wrong.
Exercise 3:
intValue = INT_NUMBER + FLT_NUMBER;
fltValue = float(INT_NUMBER) + FLT_NUMBER;
78828_CH03_DaleLab 5/22/09 1:49 PM Page 53