Instructions: Create a C# MAUI application that allows the user to input a temperature value in either Fahrenheit, Celsius, or Kelvin, and converts that temperature value into the other two forms. For example, if the user enters 45.6 Celsius, the program should output 114.08 Fahrenheit and 280.7056 Kelvin. Part 1: Front-End and Resources Setup: To implement this program, you first set up your MAUI app. NOTE that the front end will be provided for you. You will need to study the frontend controls before proceeding to the back-end. Additionally, images for temperature gauge will be provided to you as well. PART 2: Back-End Implementation For this part, you aare going to implement the functionality of the GUI. The program should function by first allowing the user to input a temperature value and unit. As the user types, and if a unit is set, the program should automatically update the temperature conversion values, as well as the temperature gauge image. Additionally, remember that 0 Kelvin is considered absolute zero, which is the lowest temperature physically possible. The program should reject any temperature below 0 Kelvin. You can do this by setting the stepper control's "Minimum" property depending on the unit chosen (note that it should also adjust the minimum allowed temperature as the unit changes.) For the temperature gauge, there are 6 seperate images, which represent how hot/cold an entered temperature is. The 4 states are as follows: Hot: The temperature gauge should turn red if the temperature is greater than 95 Fahrenheit. Warm: the temperature gague should turn yellow if the temperature is between 75 and 95 Mild: the temperature gauge should turn green if the temperature is between 55 and 75 Cold: The temperature gauge should turn light blue if the temperature is between 33 and 55 Freezing: The temperature gauge should turn dark blue if the temperature is below 33 None: The temperature gauge should turn gray if the value box is empty As the user changes the temperature value, the image should update based on the above ranges.
Instructions:
Create a C# MAUI application that allows the user to input a temperature value in either Fahrenheit, Celsius, or Kelvin, and converts that temperature value into the other two forms. For example, if the user enters 45.6 Celsius, the program should output 114.08 Fahrenheit and 280.7056 Kelvin.
Part 1: Front-End and Resources Setup:
To implement this program, you first set up your MAUI app.
NOTE that the front end will be provided for you. You will need to study the frontend controls before proceeding to the back-end. Additionally, images for temperature gauge will be provided to you as well.
PART 2: Back-End Implementation
For this part, you aare going to implement the functionality of the GUI. The program should function by first allowing the user to input a temperature value and unit. As the user types, and if a unit is set, the program should automatically update the temperature conversion values, as well as the temperature gauge image. Additionally, remember that 0 Kelvin is considered absolute zero, which is the lowest temperature physically possible. The program should reject any temperature below 0 Kelvin.
You can do this by setting the stepper control's "Minimum" property depending on the unit chosen (note that it should also adjust the minimum allowed temperature as the unit changes.)
For the temperature gauge, there are 6 seperate images, which represent how hot/cold an entered temperature is.
The 4 states are as follows:
- Hot: The temperature gauge should turn red if the temperature is greater than 95 Fahrenheit.
- Warm: the temperature gague should turn yellow if the temperature is between 75 and 95
- Mild: the temperature gauge should turn green if the temperature is between 55 and 75
- Cold: The temperature gauge should turn light blue if the temperature is between 33 and 55
- Freezing: The temperature gauge should turn dark blue if the temperature is below 33
- None: The temperature gauge should turn gray if the value box is empty
As the user changes the temperature value, the image should update based on the above ranges.

Trending now
This is a popular solution!
Step by step
Solved in 4 steps









