diff --git a/955022/main.cpp b/955022/main.cpp new file mode 100644 index 0000000..7820208 --- /dev/null +++ b/955022/main.cpp @@ -0,0 +1,10 @@ +#include +using namespace std; + +int main() { + cout << "請輸入三個要相減的數字"; + + int num1,num2,num3; + cin >> num1 >> num2 >> num3; + cout << num1 << "-" << num2 << "-" << num3 << "=" << num1-num2-num3; +} \ No newline at end of file