Password Strength Checker
PROValidation & ChecksPassword Validation
Exam Style
A website scores a password against three rules:
1. It has at least 8 characters.
2. It contains at least one digit (0-9).
3. It contains at least one uppercase letter (A-Z).
Write a program that inputs a password and outputs:
- `Strong` if all 3 rules are met
- `Medium` if exactly 2 rules are met
- `Weak` if 0 or 1 rules are met
Hint: digits have ASCII codes 48 to 57 and uppercase letters have codes 65 to 90.
Example Input
Passw0rdX
Example Output
Strong
0% (0 passed / 0 attempted)