資2程式 二信資處程式 凌晨4:46 No comments 資二忠1119小考22的程式碼 資二忠1126帶回練習(參考z2b18)的程式碼 {上移會循環、下移不循環} 資二孝-小考1118的程式碼(參考z2b18) {上移會循環、下移不循環} ... Share This: Facebook Twitter Google+ Stumble Digg
P1選CPP 二信資處程式 凌晨1:02 No comments 範例試題檔 four.cpp /* four四個運算 輸入一串字: a op b a,b是整數、 -1000<a,b<1000 op 是右列四個運算子 + - * ^ 其中 ^ 是a加b後的2次方 (a+b)乘上(a+b) */ #include <iostream> using namespace std; int main() { int a , b; char op; // 一個字元 A~Z,a~z,0~9,符號,中文不行 while( cin >> a) { cin >>... Share This: Facebook Twitter Google+ Stumble Digg