#include <iostream>
usingnamespace std;
int eng()
{
int inputa = 0;
cout << "hello and welcome to the calculator menu" << endl;
cout << "1- for simple 1 step problem" << endl;
cout << "2- for 2 step problem" << endl;
cout << "3- for 3 step problem" << endl;
cout << "4- for number to hex max 255" << endl;
cout << "5- for number to binary max 255" << endl;
cout << "6- to exit" << endl;
cin >> inputa;
if(inputa== 1);{}
if(inputa== 2);{}
if(inputa== 3);{}
if(inputa== 4);{}
if(inputa== 5);{}
if(inputa== 6);{goto end;}
end:
return 0;
}
and the deu file is coming soon
the error is(
in function ´z3engv´:
7 multiple definition of ´eng()´
"red text" 7 first defined here
and my compiler is code::block
Further more: it's plain wrong to have a ; right after an if clause (nothing will happen if you do so / the clause ends there). Simply remove the semicolon.