Hello Five Times
Use a for loop to print Hello! exactly five times, one per line.
Expected output:
text
Hello! Hello! Hello! Hello! Hello!
Hints:
- Use
for _ in 0..5— the_means you don't need the loop variable - Print
Hello!inside the loop body
rust
fn main() {
}