University of Iowa Computer Science Department

Quiz 02

1. Write a statement to prompt the user to enter the number of miles driven. Read the user's response and convert it into an integer and store it in the integer variable miles.

2. What is the difference between a value type and a reference type?
UI CLAS CRA ACM Valid CSS! Valid XHTML 1.0 Transitional Level Double-A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0 Cynthia tested
| Modified: .