while while 关键字时可用于循环,直到满足条件。 让我们使用while循环写一个声名狼藉FizzBuzz 。 fn main() { // A counter variable let mut n = 1; // Loop while ...
確定! 回上一頁