Design detailed algorithms for the following problems. Your algorithm must have at least 4 to 5 steps.

Question:

Design detailed algorithms for the following problems. Your algorithm must have at least 4 to 5 steps. And it must be very clear. Write an algorithm:
1. That gets the radius r of a circle as input. Its output is both the circumference and the area of a circle of radius r.
2. That gets as input your current credit card balance, the total dollar amount of new purchases, and the total dollar amount of all payments. The algorithm computes the new balance, which this time includes an 10% interest charge on any unpaid balance below $200, 14% interest on any unpaid balance between $200 and $500, inclusive, and 18% on any unpaid balance above $500.
3. 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 $2 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.)
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Database Concepts

ISBN: 978-0133544626

7th edition

Authors: David M. Kroenke, David J. Auer

Question Posted: