0_0_30193436_28423.cpp: In function 'int main()': 0_0_30193436_28423.cpp:11:4: error: 'x' was not declared in this scope x = (h%12)*3600 + m*60 +s; ^