0_0_17399286_2237.cpp: In function 'int main()': 0_0_17399286_2237.cpp:117:9: error: 'sam' was not declared in this scope sam=1; ^