Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 3

import java.util.

Scanner;

public class lab_IO


{

public static void main (String[] args)

{
Scanner sc = new Scanner(System.in);

//Musics/Songs and Artists/Bands

//Questions

//Q1
System.out.println("--- QUESTION #1 ---");
System.out.print("Favorite music genre: ");
String a1 = sc.nextLine();

//Q2
System.out.println("--- QUESTION #2 ---");
System.out.print("Favorite musics: ");
String a2 = sc.nextLine();

//Q3
System.out.println("--- QUESTION #3 ---");
System.out.print("Favorite Solo music artist: ");
String a3 = sc.nextLine();

//Q4
System.out.println("--- QUESTION #4 ---");
System.out.print("Favorite music band/group: ");
String a4 = sc.nextLine();

//Q5
System.out.println("--- QUESTION #5 ---");
System.out.print("Favorite girl group: ");
String a5 = sc.nextLine();

//Q6
System.out.println("--- QUESTION #6 ---");
System.out.print("Favorite Classical songs: ");
String a6 = sc.nextLine();

//Q7
System.out.println("--- QUESTION #7 ---");
System.out.print("favorite 80's songs: ");
String a7 = sc.nextLine();

//Q8
System.out.println("--- QUESTION #8 ---");
System.out.print("Favorite Song lines: ");
String a8 = sc.nextLine();

//Q9
System.out.println("--- QUESTION #9 ---");
System.out.print("A song that has many meaning to you: ");
String a9 = sc.nextLine();
//Q10
System.out.println("--- QUESTION #10 ---");
System.out.print("A song that makes you sad: ");
String a10 = sc.nextLine();

//Q11
System.out.println("--- QUESTION #11 ---");
System.out.print("A song that makes you happy: ");
String a11 = sc.nextLine();

//Q12
System.out.println("--- QUESTION #12 ---");
System.out.print("A song that you think everybody should listen to: ");
String a12 = sc.nextLine();

//Q13
System.out.println("--- QUESTION #13---");
System.out.print("Give a song of Michael jackson: ");
String a13 = sc.nextLine();

//Q14
System.out.println("--- QUESTION #14 ---");
System.out.print("Give a Original Pilipino Music: ");
String a14 = sc.nextLine();

//Q15
System.out.println("--- QUESTION #15---");
System.out.print("Give a song of The Beatles: ");
String a15 = sc.nextLine();

//Q16
System.out.println("--- QUESTION #16 ---");
System.out.print("The singer of the song Stitches: ");
String a16 = sc.nextLine();

//Q
System.out.println("--- QUESTION #---");
System.out.print("The singer of the song Light switch: ");
String a = sc.nextLine();

//Q18
System.out.println("--- QUESTION #18 ---");
System.out.print("Give a song of The Queen: ");
String a18 = sc.nextLine();

//Q19
System.out.println("--- QUESTION #19 ---");
System.out.print("The singer of the song Ligaya: ");
String a19 = sc.nextLine();

//Q20
System.out.println("--- QUESTION #20 ---");
System.out.print("Bands that you would like to see in concert: ");
String a20 = sc.nextLine();

//summary / output
System.out.println();
System.out.println("--- S U M M A R Y ---");
System.out.println("Your answer in Question #1: " + a1);
System.out.println("Your answer in Question #2: " + a2);
System.out.println("Your answer in Question #3: " + a3);
System.out.println("Your answer in Question #4: " + a4);
System.out.println("Your answer in Question #5: " + a5);
System.out.println("Your answer in Question #6: " + a6);
System.out.println("Your answer in Question #7: " + a7);
System.out.println("Your answer in Question #8: " + a8);
System.out.println("Your answer in Question #9: " + a9);
System.out.println("Your answer in Question #10: " + a10);
System.out.println("Your answer in Question #11: " + a11);
System.out.println("Your answer in Question #12: " + a12);
System.out.println("Your answer in Question #13: " + a13);
System.out.println("Your answer in Question #14: " + a14);
System.out.println("Your answer in Question #15: " + a15);
System.out.println("Your answer in Question #16: " + a16);
System.out.println("Your answer in Question #17: " + a17);
System.out.println("Your answer in Question #18: " + a18);
System.out.println("Your answer in Question #19: " + a19);
System.out.println("Your answer in Question #20: " + a20);

You might also like