# Hello ## Exercises Exercises are in [`./exercises/src/main.rs`](https://github.com/Cyfrin/rust-crash-course/blob/main/topics/hello/exercises/src/main.rs) ### Exercise 1 Inside [`main.rs`](https://github.com/Cyfrin/rust-crash-course/blob/main/topics/hello/exercises/src/main.rs) declare a `main` function and print `"Hello Rust"`. ## Test Execute the following command ```shell cargo run ```
Exercises are in ./exercises/src/main.rs
Inside main.rs declare a main function and print "Hello Rust".
Execute the following command
A foundational step to Your First Rust Program - Discover the core of Rust programming by writing your first `main` function to output "Hello Rust". Get hands-on with `cargo run` to compile and see your new creation come to life.
Course Overview
About the course
Introduction to the Rust programming language
Rust variables and functions
Scalar types, arrays, strings, enum, structs, vectors, and hash maps in Rust
Rust control flows: If / else, if let and let else, loop, match
Rust ownership, including borrow and references
Rust error handling
Rust Modules
Rust Traits
Last updated on November 7, 2025
Rust Developer
Rust Programming BasicsCourse Overview
About the course
Introduction to the Rust programming language
Rust variables and functions
Scalar types, arrays, strings, enum, structs, vectors, and hash maps in Rust
Rust control flows: If / else, if let and let else, loop, match
Rust ownership, including borrow and references
Rust error handling
Rust Modules
Rust Traits
Last updated on November 7, 2025