0_0_36558990_23037.cpp: In function 'int main()': 0_0_36558990_23037.cpp:20:18: error: 'tt' was not declared in this scope scanf("%d", &tt); ^