int getMax(int x, int y);. // 在主程式中使用函數. void main(). {. int a,b;. cout<<"請輸入兩個任意整數:";. cin>>a>>b; //由鍵盤讀入a和b兩個整數. int max;.
確定! 回上一頁