finished ch3

This commit is contained in:
Jasper Ras 2025-08-04 08:46:58 +02:00
parent 5c3e251568
commit 6d09a2a420
9 changed files with 70 additions and 0 deletions

7
ch3/branches/Cargo.lock generated Normal file
View file

@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "branches"
version = "0.1.0"

6
ch3/branches/Cargo.toml Normal file
View file

@ -0,0 +1,6 @@
[package]
name = "branches"
version = "0.1.0"
edition = "2024"
[dependencies]

9
ch3/branches/src/main.rs Normal file
View file

@ -0,0 +1,9 @@
fn main() {
let number = 3;
if number < 5 {
println!("condition was true");
} else {
println!("condition was false");
}
}