Bazar

 

 

Bazar

The sun 🌞, shining very brightly on the sellers tents β›Ί, shows no mercy in the midday heat of the day. And still, the glow of the traditional market, with the ever-smelling freshly picked local fruits 🍎🍍🍈 and vegetables 🌢️πŸ₯— overshadows the notion of the nearly insufferable heat.

At this famous β€˜all costs 10 $’ bazar Saturday morning, the seller unfortunately fails at selling three types of goods 5 minutes before the bazar closes:

  • Pink stuffed elephants 🐘
  • bright sun flowers 🌻
  • and unstable cardboard bicycles 🚲

This is why he quickly got the idea to change the prices of the goods, however, not all in favour of the buyer.

  • The pink stuffed elephants’ prices increase by 3 $
  • the bright sun flowers decrease by 5 $
  • and the cardboard bicycles cost 2 $ more than the pink stuffed elephants in the end

A buyer comes by and buys one item each. Has the bazar seller gained or lost money by changing the prices compared to not changing the money? And how much money has he gained πŸ€— or lost πŸ˜”?

The answer should have one of the following forms, depending if the bazar seller gained or lost money:

  • Gained 4$
  • Lost 9$

 

Categorystory
Coding Levelbeginner
Coding Ideasincrement, decrement, difference
Coding LanguagesCode Solutions on GitHub β†—
Story Genredescriptive
Story Content Key Wordsmarket, bazar, buying, shopping
Story LicenseCC BY-NC-SA 4.0 International
Parental Rating6+ For Everyone
How To Quote Story(Lilly-Elaia-ReedCode, adapted by StoryCoder.dev under CC BY-NC-SA 4.0 International)
Picture Licensenull
How to Quote Picture(adapted by StoryCoder.dev under null)
Available SolutionsDart Image – JavaScript Image – Python Image
TitleBazar
AuthorLilly-Elaia-ReedCode
Tags
Shopping Basket