Exerpad
🔥 0
0 XP
Exercise 8 · Chapter: ConditionsOptional+50 XP

Password Check

Write a simple password checker! Read a password from input and check if it matches the secret password rust123.

  • If the password matches, print Access granted
  • If it doesn't match, print Access denied
rust
fn main() {
}
Output
Run your code to see the output here.