This step-by-step tutorial will teach you everything you need to know about conditions and control flow in Rust. You'll learn how to use if, else, while, for, and other statements to control the flow of your code. By the end of this tutorial, you'll be able to use conditions and control flow in Rust like a pro.

Welcome back to video number 9 in this Rust tutorial series! In this video, we learn about Conditions and Control Flow - 2 incredibly important aspects of programming!

⏰Time Stamps⏰
00:00 - Quick Recap of the Previous Video
00:45 - Introduction to Control Flow
01:28 - Conditions
06:16 - Compound Conditions
10:48 - Control Flow (if, else if, else statement)
13:28 - Short Hand Control Flow
15:24 - Loops
18:49 - While Loops
22:16 - For Range Loop
23:19 - Iterating Loop

 

📖Resources📖
Rust Online Book: https://doc.rust-lang.org/book/

💻Code💻
https://github.com/code-of-the-future/Rust-Programming-Crash-Course/blob/main/Tutorial%209/main.rs

#rust 

Rust Conditions and Control Flow: A Step-by-Step Tutorial
1.70 GEEK