What's new

Mga lods pa help naman sa java , tama ba nailagay kong code ??

Alieson09

Forum Master
Joined
Aug 30, 2021
Posts
2,246
Solutions
27
Reaction
2,961
Points
5,606
nakasunod ba sa procedure??
1634138703682.png

import java.util.Scanner;
public class QuizBee {

public static void main(String[] args) {
// TODO Auto-generated method stub

System.out.println("WELCOME TO QUIZ BEE!!!");

String question1[] = {"Which city is known as the Walled City?"};
String question2[] = {"Which city is known as the Walled City?"};
String question3[] = {"Which city is known as the Walled City?"};
String question4[] = {"Which city is known as the Walled City?"};
String question5[] = {"Which city is known as the Walled City?"};
String question6[] = {"Which city is known as the Walled City?"};
String question7[] = {"Which city is known as the Walled City?"};
String question8[] = {"Which city is known as the Walled City?"};
String question9[] = {"Which city is known as the Walled City?"};
String question10[]= {"Which city is known as the Walled City?"};

String answer[] = {"malolos","intramuros","makati"};

System.out.println(question1[0]);


}
}
 

Attachments

Back
Top