blob: e29dee7d6ad1f368fa4d746604a61304356230ee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
main(){
float Celcius
float fahrenheit
print("Enter temperaure in Fahrenheit")
input(fahrenheit)
celcius = 5.0 / 9.0 * (fahrenheit - 32)
print(fahrenheit + "degrees F = " + celcius + "degrees C")
}
|