Question
IN MIPS PLEASE Problem 1: Fahrenheit to Celsius Problem Description: Convert a temperature in Fahrenheit to Celsius using 32 bitsigned integers. Your program should prompt
IN MIPS PLEASE
Problem 1: Fahrenheit to Celsius
Problem Description:
Convert a temperature in Fahrenheit to Celsius using 32 bitsigned integers.
Your program should prompt for the temperature in Fahrenheit,calculate the conversion and print the equivalent temperature inCelsius. The conversion formula is: C = (F - 32) × 5 ? 9. All workshould be done in integers, so perform the operations in an orderthat loses the lease significance (for example, avoid dividing 5 by9 first which would result in 0). The user should be prompted forthe input, and the result should be labelled.
Submit the Following File(s):
F2C.asm
Required Input:
A 32-bit integer (temperature in Fahrenheit)
Required Output:
Your output should look something like the followingexample.
Temperature (F): 122Temperature (C): 50
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started