good morning every body , I have a a homework for tomorrow and I didn't done from it , I have problem with this code "
fatal error C1075: end of file found before the left brace '{' at 'c:\users\toshiba\documents\visual studio 2010\projects\sheet 6\sheet 6\sheet 6.cpp(24)' was matched
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
"
#include<iostream>
usingnamespace std;
int main()
{
enum opreaitor {aaition,subtraction,maltiplication,divistion,power};
int i;
int j;
int result;
int chose;
cout<<"-------------------------------------\n";
cout<<"a)addition\n";
cout<<"b)subtraction\n";
cout<<"c)maltiplication\n";
cout<<"d)divistion\n";
cout<<"e)power\n";
cout<<"f)exist\n";
cout<<"--------------------------------------\n";
do{
cout<<"plese choses an opreation= \n";
cout<<"Enter tow numbers= ";
switch (chose){
case 1:cout<<"the result is= ";
result=i+j;
break;
case 2:cout<<"the result is= ";
result=i-j;
break;
case 3:cout<<"the result is= ";
result=i*j;
break;
case 4:cout<<"the result is= ";
result=i/j;
break;
case 5:cout<<"the result is= ";
result=i^j;
break;
default:cout<<"end";
}
}
system("pause");
return 0;
}