-
-
Save amankharwal/c81b65db0cf9d7fff7769fc2c38298dc to your computer and use it in GitHub Desktop.
This file contains 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 <iostream> | |
using namespace std; | |
int main(){ | |
float ftemp, ctemp; | |
cout<<"Enter the Temperature in Fahrenheit :"; | |
cin>>ftemp; | |
ctemp = (ftemp - 32.0) * 5/9; | |
cout<<"Temperature in Celsius = "<<ctemp; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment