Thanks for reading this in advance

Basically I compile my script and I get this return error
Code:
lab05.cpp: In function ‘int main()’:
lab05.cpp:46: error: expected `}' before ‘else’
lab05.cpp: At global scope:
lab05.cpp:46: error: expected unqualified-id before ‘else’
lab05.cpp:61: error: expected declaration before ‘}’ token

Anyone care to point and laugh at...