Question: use C++ Problem 2. Celsius to Fahrenheit (Celsius Fahrenheit.cpp) Description: Write a short program using Qt that asks the user to enter a Celsius value
Problem 2. Celsius to Fahrenheit (Celsius Fahrenheit.cpp) Description: Write a short program using Qt that asks the user to enter a Celsius value and then computes the equivalent Fahrenheit temperature. The formula for coverting Celsius (C) to Fahrenheit (F) is: F = (9/5)*C+32 It should use a Qinput Dialog to get the value from the user and a QMessageBox to display the result. The program will ask the user whether he/she wants to continue, and will quit the program when the user clicks "No". Outputs: Celsius to Fahrenheit Please enter a Celsius degree: 38.5 Cancel OK 38.5 Celsius is 101.3 Fahrenheit. Convert another celsius? No Yes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
