0_0_32490424_24446.cpp: In function 'int main()': 0_0_32490424_24446.cpp:29:19: error: expected '}' at end of input cout<<temp<<endl; ^ 0_0_32490424_24446.cpp:29:19: error: expected '}' at end of input