All pastes #885739 Raw Edit

Miscellany

public text v1 · immutable
#885739 ·published 2008-01-31 02:18 UTC
rendered paste body
SwapCo Users Group has contracted our department to create a simple payment calculator program. In the program, the user will be prompted for an enter the purchase price and quantity. The program is to calculate the extended price (purchase price * quantity) and total due and display them on the screen. The total due must also include an on-line processing fee (calculate at 1.25% of the extended price) and a sales tax (calculated at 7% of the extended price), both of which should also be displayed on the screen. Create the data dictionary, IPO chart, structure chart, and algorithm flowcharts for the program. In order for you to demonstrate knowledge of variable scope and paramater usage, you must have four modules (main,input,calculate,and display) and you may only use a maximum of 2 global variables.