Name:

700No:

UserId:

Assignment Number: a2

Filename: ctof.asm

f = (9*c)/5 + 32

Write a MIPS assembly language program, ctof.asm, to 

input a Celsius temperature from the keyboard and

compute and print the equivalent Fahrenheit temperature. 

 

Sample I/O.

Input Celsius temperature: 0

Fahrenheit = 32

Input Celsius temperature: 40

Fahrenheit = 104

Input Celsius temperature: -10 

Fahrenheit = 14

 

    • 10 years ago
    A+ Work
    NOT RATED

    Purchase the answer to view it

    • ctof.zip