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