Your friend wants to make a thermometer with a microbit to measure body
Ask Expert

Be Prepared For The Toughest Questions

Practice Problems

Your friend wants to make a thermometer with a microbit to measure body

Your friend wants to make a thermometer with a microbit to measure body temperature and display if the person is within the healthy range. The microbit should display a smiley face if the temperature is between 98 and 99 and the letter C if it is colder than 98 and the letter H if it is warmer than 99. Your friend shows you the code below and tells you that it is not working, but does not have a computer or microbit to show you what it does. Write what the code below currently does as written and propose a solution by changing the code below (either take a screenshot and modify it or redo the code at makecode.microbit.org). Note: the conversion from Celsius to Fahrenheit is correct.

Hint
Computer"The micro:bit can measure temperature in degrees Celsius, so we'll use this information to display a smiley face for a healthy temperature range (between 36.6°C and 37.2°C) and the letters ""C"" or ""H"" for colder or warmer temperatures.Here's a block-based code for the micro:bit using the MakeCode editor:Go to makecode.microbit.org.Create a new project.Now, you can use the following cod...

Know the process

Students succeed in their courses by connecting and communicating with
an expert until they receive help on their questions

1
img

Submit Question

Post project within your desired price and deadline.

2
img

Tutor Is Assigned

A quality expert with the ability to solve your project will be assigned.

3
img

Receive Help

Check order history for updates. An email as a notification will be sent.

img
Unable to find what you’re looking for?

Consult our trusted tutors.

Developed by Versioning Solutions.