Created
February 4, 2016 20:36
-
-
Save MitchellScottHenke/981f830a0b08a1d99a8c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| int main() | |
| { | |
| float c,f; | |
| printf("What is the temperature in Celsius you wish to convert?\nT="); | |
| scanf("%f",&c); | |
| f = (1.8*c+32); | |
| printf("%f in Fahrenheit is %f\n",c,f); | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment