Question: Algorithm Table Simply Defined: The algorithm table is setting up your plan for the program. A program consists of input . . . . .

Algorithm Table Simply Defined:
The algorithm table is setting up your plan for the program.
A program consists of input .....process....output and the table has you define these data items.
Also, it defines how you will get from input to output.
Simply, if you wanted to program the total price to purchase one item.
Inputs: numberOfItems, price
Outputs: total
Constants: TAX _RATE =.07
Processing/ intermediate (gets us to the total): subtotal, tax
Input: numberOfItems, price
Processing: subtotal = numberOfItems * price
tax = subtotal * tax rate
total = subtotal + tax
Output: total
Desk check
Input: number of items 10, price 5
Processing: subtotal =10*5=50
tax =50*.07=3.50
total =50+3.50
Output: total=53.50

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!