Section 1 - Instruction

Previously, we explored basic math operations like +, -, *, and / in Rust.

We also saw that * and / usually happen before + and -.

Engagement Message

So, in 5 + 2 * 3, which part is calculated first?

Section 2 - Instruction

As programs get longer, it's helpful to leave notes inside the code. These notes are for humans reading the code, not for the computer.

Engagement Message

Think of them like sticky notes explaining what a part of your program does. Make sense?

Section 3 - Instruction

In Rust, you can write these notes, called comments, by starting a line with two forward slashes (//).

Anything on a line after a // is completely ignored by the computer when you run the code.

Engagement Message

Can you write for me a simple one word comment?

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal