Chapter 1: Problem 20
Jason typically uses the Internet to buy various items. If the total cost of the items ordered, at one time, is \(\$ 200\) or more, then the shipping and handling is free; otherwise, the shipping and handling is \(\$ 10\) per item. Design an algorithm that prompts Jason to enter the number of items ordered and the price of each item. The algorithm then outputs the total billing amount. Your algorithm must use a loop (repetition structure) to get the price of each item. (For simplicity, you may assume that Jason orders no more than five items at a time.)
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.