
Lesson 2-1: Check Prelab Exercises
C++ Syntax and Semantics, and the Program Development Process | 33
Name __________________________________________ Date _______________________
Section _________________________________________
Exercise 1: Run program Wrap to check your answer to Prelab Exercise 1. Was your answer
completely correct? If it was not, explain where you made your mistake.
Exercise 2: The identifiers are TUNA, PICKLE, LETTUCE, WRAP, filling, and wrap.
Exercise 3: The named constants are TUNA, PICKLE, LETTUCE, and WRAP.
Exercise 4: The literal string constants are " and ", " with ", " in ", "Filling : ", and
"Wrap : ". The literal character ...