I'm makeing a converter, but it wont compile
Someone tell me what's wrong!Code:#include <iostream> int far ( int x ) { return (x-32)*(5/9); } int cel ( int x ) { return x+32*(9/5); } using namespace std; int faren(); int cels(); int main () { int input; cout<<"1. Celsius to Fahrenheit\n"; cout<<"2. Fahrenheit to Celsius\n"; cout<<"Selection: "; cin>> input; switch ( input ) { case 1: cels(); break; case 2: faren(); break; default: cout<<"Error\n"; break; } int faren { int x; cout << "Temperature Farenhieht:"; cin>> x; cin.ignore(); cout << "Celsius:" << far(x); cin.get(); } int cels(){ int x; cout << "Temperature Celsius:"; cin>> x; cin.ignore(); cout << "Fahrenheit:" << cel (x); cin.get(); }