摘要: RUST——控制流(if/loop/while) 1. if语句 下面看一个示例: fn main() { let number = 6; if number % 4 == 0 { println!("number is divisible by 4"); } else if number % 3 == 0 { println!("number i 阅读全文
posted @ 2023-04-11 09:39 理想国的糕 阅读(19) 评论(0) 推荐(0) 编辑