Skip to content

behllyt/java-quiz-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📘 Java Quiz Game

🎯 Project Overview

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.


🧠 Features

  • 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 if and switch statements

💻 Technologies Used

  • Java
  • Scanner class (for input)
  • Conditional statements (if, switch)
  • Loops (input validation)
  • Basic arithmetic operations

▶️ How to Run the Program

1. Compile the program

javac Main.java

About

Simple Java Quiz game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages