cout <<a<<endl;. } 第六:用rand()函數獲取小數. 方法是把獲得的整數除以一個浮點型數位,實驗代碼如下:. #include<ctime>. #include<cstdlib>.
確定! 回上一頁