Hello I have a problem i searched but i didn't find the solution. Can you help me please ?
if choix != 1 && choix != 2 {
fmt.Println("you don't put a correct number!")
continueProg=true
} else if choix == 1 {
celsfah()
fmt.Println("Celsius")
} else {
//FahCels()
fmt.Println("Fahrenheit")
}
I tried several solutions but none worked
The Function Celsfah
func celsfah(fahrenheit) {
celsius := 0
fahrenheit := 0
fmt.Println("Entrer une température en Celsius à convertir en Fahrenheit : ")
fmt.Scanln(&celsius)
fahrenheit = celsius*1.8+32
fmt.Println(&fahrenheit)
}