University of Iowa Computer Science Department

Quiz 01

 

1. Declare three integer variables named length, width, and area. Assign 10 to the length variable, 27 to the width variable, and then assign the area of a rectangle of this length and width to the area variable using an expression.

2. Write a statement that will write your name into the console window. On the next line in the console window write your favorite actor's name.

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: .