Exerpad
🔥 0
0 XP
Exercise 4 · Chapter: Linear ProgramsRequired+50 XP

Greeting Builder

Create variables for a name and an age, then use format!() or println!() to print a greeting.

Use name = "Luna" and age = 12.

Your output should be:

Hello, Luna! You are 12 years old.
rust
fn main() {
}
Output
Run your code to see the output here.