Fundamentals (16)
Variables, constants, primitives, control flow, and functions.
Printing Hello World
Create a function that prints 'Hello, world!' to the console using Rust.
Declaring Variables
Learn to declare immutable variables in Rust and understand their usage.
Mutable Variables
Define and modify mutable variables in Rust.
Constants
Learn how to define and use constants in Rust.
Primitive Data Types
Get familiar with primitive data types in Rust by defining and annotating variables.
Mathematical operations
Practice mathematical operations in Rust, including addition, subtraction, multiplication, and division.
Converting Numerical Types
Implement a function to convert numerical types using the `as` keyword in Rust.
Sum of Array
Calculate the sum of all elements in an array.
Tuples
Create a function that returns a tuple of values.
The Unit Type
Understand and use the unit type `()` in Rust.
Functions
Implement and work with functions in Rust.
Control Flow
Implement basic control flow in Rust using if-else statements.
Basic If-Else Statements
Learn how to use if-else statements in Rust to control the flow of your program.
Countdown
Implement a countdown timer using a while loop in Rust.
Weekday from Number
Use Rust's pattern matching to determine the weekday given its number.
Fizz Buzz
Write a program that prints 'Fizz' for multiples of three, 'Buzz' for multiples of five, and 'FizzBuzz' for multiples of both.