This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: dimensions. 2. a. 3 x 4 b.-0.6 c. (1,4) (2,1) (3,2) 3. a. 1 x 3 b. 3 x 1 c. 3 x 3 d. 3 x 2 e. 3 x 3 f. 4 x 3 g. 4 x 1 Quiz 2.3 2. a. This statement prompts the user to input the radius of a circle. It then computes the area of the circle, stores it under the name area, and displays it in the statement “The area is” followed by the area of the circle. b. This statement turns the double ‘pi’ into a string and stores under the name ‘value’. It then displays “The value is” followed the string value, followed by “!”. Exercise 2.2 a. Legal b. Illegal because the name begins with a number c. Legal d. Illegal because the name does not begin with a letter e. Illegal because the name includes a ‘ which cannot be used in a name...
View Full Document
This note was uploaded on 04/15/2008 for the course ASE 201 taught by Professor Hayes during the Spring '07 term at University of Texas.
- Spring '07