This is a simple Java console-based quiz game.
The program asks the user multiple-choice questions, evaluates their answers, and displays the final score as a percentage.
- 5 multiple-choice questions
- Options labeled A, B, C, and D
- User input using keyboard
- Input validation (only accepts A–D)
- Score tracking system
- Final percentage calculation
- Performance feedback based on score
- Uses both
ifandswitchstatements
- Java
- Scanner class (for input)
- Conditional statements (
if,switch) - Loops (input validation)
- Basic arithmetic operations
javac Main.java