Section 1 - Instruction

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?

Section 2 - Practice

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
Section 3 - Practice

Type

Fill In The Blanks

Markdown With Blanks

Fill in the blanks to print the number 100:

Suggested Answers

  • {}
  • 100
Section 4 - Practice

Type

Multiple Choice

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