This preview shows page 1. Sign up to view the full content.
Unformatted text preview: 3. For each submenu option, prompt the user for the width , validate the width to be between 8 and 40, then call a user defined functions that produce the chosen graphic object based on the width supplied by the user. Use the nested for loop statement(s) where appropriate instead of the while statement. 4. The user should be repeatedly allowed to draw differents shapes and faces until they choose to quit. 5. Develop a set of test cases and record what happens using the script command, saving the result in expressions.txt. 6. Upload and submit both the expressions.cpp file and the expressions.txt file to WebCT. Assignment files: None Submissions: You can only submit your assignment once. No re-submission is permitted. Notification: The instructor will not be notified via email when you submit this assignment....
View Full Document
- Fall '09