-
Input/Output
I have just started to learn C programming and I'm stuck. I have to design and write a program which reads a temperature in Fahrenheit from the keyboard, converts it to the equivalent value in Centigrade, and displays both values.
I just don't from where to start. Do I need to state the conversion equation first? or I do I need to insert the valures? Any help would be welcome.
Thank You.
-
Well apart from being discussed many times before (hint: press the search), the first step would be to prove to yourself that you can
- ask the user for a temperature
- read in a temperature
- print that temperature to show you read it in correctly