Module 8 – Why Does a Rust Program Look Like This?
Exercise
Arrange these pieces into the correct order.
}
println!("Hello, World!");
fn main()
{Correct Answer
fn main() {
println!("Hello, World!");
}Challenge 2
Open the Rust Runner. Type the program and run it.
Expected output:
Hello, World!Challenge 3
Change Hello, World! to Hello Agila!. Only the text changes.
Complete this lesson
Answer every check correctly to earn your lesson certificate. Feedback helps you review and try again.
Sign in · Save your progress and earn a certificate for this lesson.