Thursday
November 27, 2014

Homework Help: C Programming

Posted by gnozahs on Friday, September 25, 2009 at 3:55pm.

This is what the program needs to do:

Enter a temperature: 32.4
Enter 'C' for Celsius or 'F' for Fahrenheit: C
Choose a conversion ('C' for Celsius or 'F' for Fahrenheit): F
The temperature is: 90.3 F.

How would I store the input when it asks for C or F, then use it to activate the correct equation to convert the inputted temp to C or F?

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

C Programming - Write a program that prompts the user to enter a temperature, ...
C Programming - Okay, question. What if I inputted this: Enter a temperature: 32...
Fund of programming 1 - Complete the following C++ program. The program should ...
computer science - in one the chapter 3 programming challenges you were asked to...
Algebra - The folrmula F=9/5c+32 can be used to make temperature conversions ...
writting a program - Speed of Sound. Sound travels through air as a result of ...
math - Consider the following method of estimating Fahrenheit temperatures given...
Algebra - Celsius temperature readings can be converted to Fahrenheit readings ...
Algebra - In order to covert temperature from Celsius to Fahrenheit,one can use ...
math - Q. Naomi has a formula that allows her to convert Clesius temperatures to...

Search
Members