Patulong po sa assignment namin kung sino po magaling dyan sa java programming.
Java program using else, else if, or switch kahit saan po sa tatlo.
import java.util.Scanner;
public class Quiz
{
public static void main (String[]args)
{
Write an application that creates a quiz, which contains at least 5 questions about a hobby, popular music, astronomy, or any other personal interest. Each question should be a multiple choice question with at least 4 options. When the user answers the question correctly, display a congratulatory message. If the user responds to a question incorrectly, display an appropriate message as well as the correct answer. At the end of the quiz, display the number of correct and incorrect answers, and the percentage of correct answers.
Java program using else, else if, or switch kahit saan po sa tatlo.
import java.util.Scanner;
public class Quiz
{
public static void main (String[]args)
{
Write an application that creates a quiz, which contains at least 5 questions about a hobby, popular music, astronomy, or any other personal interest. Each question should be a multiple choice question with at least 4 options. When the user answers the question correctly, display a congratulatory message. If the user responds to a question incorrectly, display an appropriate message as well as the correct answer. At the end of the quiz, display the number of correct and incorrect answers, and the percentage of correct answers.