reset password
Author Message
aalva190
Posts: 64
Posted 20:18 May 08, 2016 |

Having some trouble, any hints how to approach this problem?

 

kknaur
Posts: 540
Posted 20:32 May 08, 2016 |

Break the output apart into steps and notice what repeats.  Get the first store to work and that will give you an idea of what to do for the other 4.

rcamach7
Posts: 31
Posted 22:29 May 08, 2016 |

Exactly, once you figure out the first one the rest will come naturally.

Look into how you can extract the number of stars, given each one stands for 100, with an X amount of sales. After that you'll need a loop to print out the graph.