在C 語言中的迴圈敘述有三種,分別是for、while、do-while,我們先來看看while 的語法:. while (條件式) 指令一; ... a = ( rand()%100 ) + 1;. b = 0;. while ( b!=a ) ...
確定! 回上一頁