while while 關鍵字時可用於循環,直到滿足條件。 讓我們使用while循環寫一個聲名狼藉FizzBuzz 。 fn main() { // A counter variable let mut n = 1; ...
確定! 回上一頁