The following is an example of a(n) ____.
Processing a sales order:
1. Start a new sales order
2. While there are still items to be processed:
→ Get the quantity and price of the next item
→ Multiply the quantity by the price to get the total cost for the item
→ Add the item's total cost to the running total purchase price
3. Multiply the total purchase price by the 6% sales tax rate to get the sales tax amount
4. Ask the customer to choose none, ground or air shipping:
→ If not being shipped, set the shipping charge to $0
→ If ground shipping, set the shipping charge to $10
→ If air shipping, set the shipping charge to $20
5. Add the total purchase price, the sales tax amount, and the shipping charge to get the order total and complete the sales order.
-assignment statement
-algorithm
-named constant
-machine language