/code_1728194.cpp: In function ‘int main()’: /code_1728194.cpp:4: error: ‘cin’ was not declared in this scope /code_1728194.cpp:7: error: ‘cout’ was not declared in this scope /code_1728194.cpp:11: error: ‘cout’ was not declared in this scope /code_1728194.cpp:15: error: ‘sqrt’ was not declared in this scope /code_1728194.cpp:17: error: ‘cout’ was not declared in this scope
每個輸出之後要換行
然後C++應該是要include cmath