You get to write a Scratch program that helps the user choose their outfit based on the weather.
If it’s going to rain, it will tell them to grab a jacket or umbrella. If it’s going to be below 50 degrees they’d better wear a warm coat.
Here’s what you need to ask: 1. ask for their name.
2. ask at least four questions about the weather like – you can choose your own questions: what is the high temperature going to be? will it rain? will it snow? will they be mostly outside or mostly inside?
3. give them outfit advice based on the info that they provide. Use say blocks to deliver this advice.
Strategy:
- create variables for the inputs like high temp, rain, snow, inside_outside.
- ask at least four questions first.
- assign the answer to the variables
- then check the results.
- use if statements and operators (conditionals) to give them outfit ideas