This preview shows page 1. Sign up to view the full content.
Unformatted text preview: should read-in a value for the radius and display the calculated values with appropriate units. The units should also be read-in. Test your program for r = 3 in and r = 10 mm. 6. Will perform a specied operation (addition, subtraction, multiplication, division) as input by the user for two variables also input by the user. Hint: Operation characters can be entered as character strings. The end result of your program should look some-thing like below >> operation Enter first variable: 5 Enter second variable: 4 Enter operation to be used [+,-,*,/]: + Result: 5+4 = 9 Test your program for a = 3 and b = 2 for all four operations....
View Full Document
This note was uploaded on 03/25/2010 for the course ASE 201 taught by Professor Hayes during the Spring '07 term at University of Texas at Austin.
- Spring '07