-
Rust연습]Control Flow_While문_3.2.1.LIFTOFF!!연습코딩Coding/Rust연습 2021. 12. 6. 01:14728x90
fn main() { // Control Flow let mut number = 3; while number != 0 { println!("{}!", number); number -= 1; } println!("LIFTOFF!!!!"); }
출처 :
https://www.youtube.com/watch?v=2V0JaMVjzws
반응형'코딩Coding > Rust연습' 카테고리의 다른 글
RUST연습]변수 사이즈크기 알아보기(use std::mem::size_of;) (0) 2021.12.10 Rust연습]Shadowing (0) 2021.12.09 RUST연습]Rust Crash Course | Rustlang -44:47부터 (0) 2021.12.07 Rust☆]Understanding ☆Ownership☆ in Rust&☆The Rules of References☆ (0) 2021.12.06 Rust연습]Common Programming Concepts in Rust (0) 2021.12.06 Rust연습) Guessing Game in Rust (0) 2021.12.04 Rust연습_Fibonacci피보나치 출력 (0) 2021.05.13 Rust연습_피보나치 수열 출력하기 (0) 2021.05.13