C++實驗題---填空(類)#include <iostream>using namespace std;class Test{Public:Test(int aa){______________}int Getx(){_______________}private:int x;};int main(){int m;while(cin>>m){Test t(m);cout<<t.Getx()<<endl;}return 0;}? 輸入輸入有多組測試數據,每行為一組測試數據,且只有一個正整數。輸出根據程序代碼輸出相應的信息。樣例輸入100樣例輸出100??
- 2 回答
- 0 關注
- 1585 瀏覽
添加回答
舉報
0/150
提交
取消