0_0_29218678_3413.cpp: In function 'int main()': 0_0_29218678_3413.cpp:10:5: error: 'else' without a previous 'if' else if(abs((c+j)*(c+j)*b*b-b*b*n*i*i)<abs(a*a*i*i-n*b*b*i*i)){ ^