A gelato store in Maine (like Rita's) offers a discount when the temperature drops below freezing. You save one percent for each degree below freezing outside at the time of purchase. To complete the challenge, ask the user for the cost of his or her gelato and the current temperature. Tell the user how much money he or she will save (either in dollars or as a percentage) and how much the discounted gelato costs. Note: make sure that no discount is given if the temperature is 32 or greater. Examples: $4.00 gelato at 12 degrees = 20% or $0.80 discount and $3.20 sale price $3.00 gelato at 7 degrees = 25% or $0.75 discount and $2.25 sale price $3.50 gelato at 38 degrees = no discount -- too warm! "See inside" then "Make a Copy" and complete the project! :)
More info can be found here: https://www.gelatofiasco.com/events/frozen-code-passcode-for-winter-2022-2023/ More recently from the business: "Our all-time record was February 3, 2023, when we had several scoops at -14 degrees, or 46% off. Over 500 hearty Mainers and Mainers-at-heart visited our two stores that day."