8.1.5 Weather
The Problem
The Problem
Using functions and spelling.
The Solution
The Solution
The assignment requires you to make functions. You need a separate function for each weather type.
Words often spelled wrong: galoshes, sandals.
First, define the functions for rainy, sunny, and snowy weather. Those functions should print:
On a sunny day, sandals are appropriate footwear.
On a rainy day, galoshes are appropriate footwear.
On a snowy day, boots are appropriate footwear.