Go Arithmetic Operators convert Fahrenheit to Celsius:
package main //from w ww .j av a2s. com import "fmt" func main() { fmt.Print("Enter a number: ") var input float64 fmt.Scanf("%f", &input) output := (input - 32) * 5/9 fmt.Println(output) }