杭電Oja+b問題1.1.1答案以及做者的理解

本文使用C++編譯,其餘的語言也相似ios #include<iostream> using namespace std; int main() { int a,b; while(cin<<a<<b)//循環結束的條件爲當輸入的a,b不爲整型數時 {cout>>a+b>>endl;} return 0; } 參考博文:函數 你們能夠看一下,感受很是有道理學習 1、關於
相關文章
相關標籤/搜索