expand icon
book Programming Logic and Design, Introductory 7th Edition by Joyce Farrell cover

Programming Logic and Design, Introductory 7th Edition by Joyce Farrell

Edition 7ISBN: 1285225562
book Programming Logic and Design, Introductory 7th Edition by Joyce Farrell cover

Programming Logic and Design, Introductory 7th Edition by Joyce Farrell

Edition 7ISBN: 1285225562
Exercise 17

Yabe Online Auctions requires its sellers to post items for sale for a six-week period during which the price of any unsold item drops 12 percent each week. For example, an item that costs $10.00 during the first week costs 12 percent less, or $8.80, during the second week. During the third week, the same item is 12 percent less than $8.80, or $7.74. Design an application that allows a user to input prices until an appropriate sentinel value is entered. Program output is the price of each item during each week, one through six.

Step-by-step solution
Verified
like image
like image

Step 1 of 4

Flowchart:

The following Flowchart accepts the price of an item and displays the discounted or reduced price of the item for each week.

    <div class=answer> Flowchart: The following Flowchart accepts the price of an item and displays the discounted or reduced price of the item for each week.   The following Flowcharts are subroutines. AcceptPrice() will accept the price of the item and computeReduded() will calculate the reduced price.

The following Flowcharts are subroutines. AcceptPrice() will accept the price of the item and computeReduded() will calculate the reduced price.

    <div class=answer> Flowchart: The following Flowchart accepts the price of an item and displays the discounted or reduced price of the item for each week.   The following Flowcharts are subroutines. AcceptPrice() will accept the price of the item and computeReduded() will calculate the reduced price.


Step 2 of 4


Step 3 of 4


Step 4 of 4

close menu
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
cross icon