You've learned how to use println!()
to display text and numbers using placeholders. Now let's practice these skills with different combinations.
Engagement Message
Ready to reinforce your printing abilities?
Type
Multiple Choice
Practice Question
Which of these println!()
statements would correctly display the text Hello, Rust!
when run?
A. println!("Hello, Rust!")
B. println!(Hello, Rust!)
C. println!("Hello, Rust!"
D. println!["Hello, Rust!"]
Suggested Answers
- A - Correct
- B
- C
- D
Type
Fill In The Blanks
Markdown With Blanks
Fill in the blanks to print the number 100:
Suggested Answers
- {}
- 100
Type
Multiple Choice
