ITCS 1212L Chapter Notes -Alphabet Inc., Return Loss, Pseudocode

62 views10 pages
25 Jan 2016
School

Document Summary

To learn the process of creating functions and function prototypes. To learn the process of calling a function. To learn how to create a modular program. Practice developing the main algorithm which is composed of different functions calls: in this part, we would like to study a menu-driven modular program. You need to look at this code, enter and execute it and answer the following questions: Write pseudocode for the main( ) function, you can use if and switch as they are for the decision making. The program calculates the users" final membership rates. If the user selects choice a, the following functions (starting from main( ) ) are going to be called. main() showmenu() calculatemembershiprate() displaymembership() The functions that were called for choice a will also be called for choice b and c. For choice d, no functions will be called. The program is called menu-driven and modular because it uses functions and is based off menus.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents