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.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

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.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Data Binding
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education