Ask your own question, for FREE!
Computer Science 22 Online
OpenStudy (anonymous):

HCC Rose Resale Shop is having a seven-day sale during which the price of any unsold item drops 7 percent each day. For example, an item that costs $12.00 on the first day costs 7 percent less, or $11.16, on the second day. On the third day, the same item is 7 percent less than $11.16, or $10.38. Design an application that allows a user to input a price until an appropriate sentinel value is entered. Output is the price of each item on each day, one through seven. I am completely lost on how to solve this problem.

OpenStudy (rsmith6559):

First, break this assignment down into smaller sections. You need to accept input and check it to see if it's the sentinel value. Over 7 days you output (probably the day and) the price, which drops 7%. Break these down, and keep breaking these down until the code you need to write, basically suddenly appears to you.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!