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