Question: Below is a thermometer program I made with a micro:bit to measure temperature. I want the microbit to accomplish the following: Display a smiley face
Below is a thermometer program I made with a micro:bit to measure temperature. I want the microbit to accomplish the following:
Display a smiley face when the temperature is between and
Display the letter when the temperature is colder than
Display the letter when the temperature is warmer than
Unfortunately, there are errors in my code and my micro:bit is not accomplishing what I want it to accomplish Note: the conversion from Celsius to Fahrenheit is correct
Answer the following:
Describe what is wrong with the code and what the micro:bit currently is doing points
What two changes can you make to fix the code? points for each change
forever
set
TempInF
to
temperature
if
TempInF
or
TempInF
then
show icon
else
If
TempInF
then
show string
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
