Exerpad
🔥0
0 XP
Lv.1 Beginner
Log In

Swap Values

You have two variables, a = 5 and b = 10. Swap their values and print both.

Your output should be:

text
a = 10
b = 5

Hint: You'll need a third variable to hold one value while you swap!

rust
fn main() {
}