University of Iowa Computer Science Department

Quiz 05


1. What is the main difference between a while statement and a do-while statement?

2. Write a for loop that will print out the even integers from 2 to 22, inclusive.
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: .