0_0_20272923_24938.cpp: In function 'int main()': 0_0_20272923_24938.cpp:38:20: error: 'str' was not declared in this scope scanf("%s",str); ^