Search⌘ K

Exercises

Explore practical Rust exercises that reinforce your understanding of basic syntax, variables, and arithmetic operations. Learn to write programs from scratch, modify types for compilation, and generate formatted output. Gain hands-on experience to solidify fundamental Rust programming concepts.

We'll cover the following...

Exercise 1

Write a program from scratch that prints “Hello World.” Try to avoid looking at the examples we’ve seen so far. This will help you nail down all the ...