/* * 11 questions * 4 question for 1 amount */ import java.util.Scanner; import java.lang.String; import java.lang.Math; public class Main { /** * @param args the command line arguments */ public static void main(String[] args) { String start; String answer; String answerin; int number; Scanner input = new Scanner (System.in); System.out.println("Welcome to Who Wants to Be A Millionaire!"); System.out.println("We will ask you a series of 11 questions, and if you make it through you will win 1,000,000 imaginary dollars!"); System.out.println("Are you ready to play?"); start = input.next(); if (start.equals("yes")) { for (int i=1; i<=11; i++) { number =(int) (1 * Math.random()+1); switch (number) { case 1:System.out.println("What is the rarest, stable metal on earth?"); System.out.println("A. Krypton"); System.out.println("B. Sand"); System.out.println("C. Platinum"); System.out.println("D. Palladium"); answer = "d"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 2:System.out.println("What is the amount of one mole?"); System.out.println("A. 34g"); System.out.println("B. 6.02x 10^23"); System.out.println("C. 234"); System.out.println("D. 1"); answer = "b"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 3:System.out.println("What was the fastest time for a Justin Beiber concert to sell out?"); System.out.println("A. 1 Month"); System.out.println("B. 30 Seconds"); System.out.println("C. 2 Months"); System.out.println("D. 10 Minuets"); answer = "b"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 4:System.out.println("What is the newest android operating system?"); System.out.println("A. Ice-Cream Sandwich"); System.out.println("B. Bubble Gum"); System.out.println("C. Jelly Bean"); System.out.println("D. Chocolate Cake"); answer = "c"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 5:System.out.println("How many different packages of skittles were made? "); System.out.println("A. 17"); System.out.println("B. 6"); System.out.println("C. 25"); System.out.println("D. 10"); answer = "d"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 6:System.out.println("There are 4 types of Saxophones. Alto, Tenor, Baritone. What is the last kind? "); System.out.println("A. Piano"); System.out.println("B. Saprano"); System.out.println("C. Forte"); System.out.println("D. Coda"); answer = "b"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 7:System.out.println("The band “Weezer”, named one of their albums the name of a character on the TV show “Lost”. Who was it? "); System.out.println("A. Hurly"); System.out.println("B. John"); System.out.println("C. Smokey"); System.out.println("D. Adam"); answer = "a"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 8:System.out.println("Which of these DJ’s are Canadian"); System.out.println("A. Swedish House Mafia"); System.out.println("B. Deadmau5"); System.out.println("C. Skrillex"); System.out.println("D. Feed me"); answer = "b"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 9:System.out.println("According to Reddit, what is the weirdest/scariest sub-reddit to visit online? "); System.out.println("A. r/WTF"); System.out.println("B. r/Spacedicks"); System.out.println("C. r/ImGoingToHellForThis"); System.out.println("D. r/aww"); answer = "b"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 10:System.out.println("What program should gamers download in order do legally download games to play on their computer? "); System.out.println("A. uTorrent"); System.out.println("B. Steam"); System.out.println("C. XBOX Live"); System.out.println("D. Club Penguin"); answer = "a"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 11:System.out.println("According to a famous advertising campaign, There's always room for, what?"); System.out.println("A. Jell-O"); System.out.println("B. Shrip"); System.out.println("C. Shortcake"); System.out.println("D. Mini-Muffins"); answer = "a"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 12:System.out.println("What part of your body are you most likely to stub?"); System.out.println("A. Brain"); System.out.println("B. Knee"); System.out.println("C. Toe"); System.out.println("D. Elbow"); answer = "c"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 13:System.out.println("Which of these beverages are carbonated? "); System.out.println("A. Coffee"); System.out.println("B. Tea"); System.out.println("C. Sletzer"); System.out.println("D. Scotch"); answer = "c"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 14:System.out.println("A circus is most commonly associated with having how many rings?"); System.out.println("A. 2"); System.out.println("B. 10"); System.out.println("C. 5"); System.out.println("D. 3"); answer = "d"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 15:System.out.println("A gold watch is traditionally given upon which of these events? "); System.out.println("A. Birth"); System.out.println("B. Marriage"); System.out.println("C. First day of Elementary School"); System.out.println("D. Retirement"); answer = "d"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 16:System.out.println("What genre of electronic music has recently became popular? "); System.out.println("A. Polka"); System.out.println("B. Dubstep"); System.out.println("C. Clubstep"); System.out.println("D. House"); answer = "b"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 17:System.out.println("Who is the main character in most of the “Halo” games? "); System.out.println("A. Master Chief"); System.out.println("B. Master Chef"); System.out.println("C. The Reclaimer"); System.out.println("D. The One"); answer = "a";answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 18:System.out.println("In the “Mortal Kombat” games, what dose the announcer say when you’re about to kill the opponent? "); System.out.println("A. Finish This!"); System.out.println("B. End This!"); System.out.println("C. Finish Him/Her!"); System.out.println("D. Finish Them!"); answer = "c"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 19:System.out.println("What 2 standard playing card suits are traditionally red?"); System.out.println("A. Hearts/Clubs"); System.out.println("B. Diamods/Spades"); System.out.println("C. Hearts/Spades"); System.out.println("D. Diamonds/Hearts"); answer = "d"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 20:System.out.println("Competitors usually “Break the Tape” at the conclusion of which sporting event?"); System.out.println("A. Tennis"); System.out.println("B. Marathon Race"); System.out.println("C. Golf Tournament"); System.out.println("D. Wrestling Match"); answer = "b"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 21:System.out.println("Which of the following states border at least 1 great lake? "); System.out.println("A. Michigan"); System.out.println("B. Missouri"); System.out.println("C. Virginia"); System.out.println("D. Texas"); answer = "a"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 22:System.out.println("Which if the following is represented in military time as 2340 hours? "); System.out.println("A. 2:34 AM"); System.out.println("B. 2:34 PM"); System.out.println("C. 11:40 AM"); System.out.println("D. 11:40 PM"); answer = "d"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 23:System.out.println("When a doctor hits your knee with a rubber mallet, he is testing your what? "); System.out.println("A. Stamina"); System.out.println("B. Reflexes"); System.out.println("C. Balence"); System.out.println("D. Soberty"); answer = "b";answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 24:System.out.println("A serrated edge is usually found on the blade of which of these items?"); System.out.println("A. Safety Razor"); System.out.println("B. Stake Knife"); System.out.println("C. Windsheild Wiper"); System.out.println("D. Propeller"); answer = "b"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 25:System.out.println("Light amplifications by simulated emission of radiation is better known as a what?"); System.out.println("A. Lighning Bolt"); System.out.println("B. Rainbow"); System.out.println("C. Laser"); System.out.println("D. Sunspot"); answer = "c"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 26:System.out.println("Who is the lead singer of the band “The Doors”?"); System.out.println(" A. Martian judy"); System.out.println(" B. John Morrison"); System.out.println(" C. Deadmau5"); System.out.println(" D. jay-z "); answer = "B"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 27:System.out.println("Who played Johnny blaze in the movie “Ghost Rider”?"); System.out.println(" A. Sean Connery"); System.out.println(" B. Charlie Sheen"); System.out.println(" C. Nicolas Cage"); System.out.println(" D. David Bowie"); answer = "C"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 28:System.out.println("Who the prime minster of Canada? "); System.out.println(" A. Obama "); System.out.println(" B. Romney"); System.out.println(" C. Harper"); System.out.println(" D. Crosby"); answer = "C"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 29:System.out.println("Who won the Stanley cup in the 2004-2005 season?"); System.out.println(" A. Red wings"); System.out.println(" B. Steelers"); System.out.println(" C. Senators"); System.out.println(" D. there was a lockout"); answer = "D"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 30:System.out.println("How many James Bond Movies were made? "); System.out.println(" A. 13 "); System.out.println(" B. 2 "); System.out.println(" C. 23 "); System.out.println(" D. 3 "); answer = "C"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 31:System.out.println("Name the two armies in Star Craft?"); System.out.println(" A. Protoss, Terrain"); System.out.println(" B. Zerg, Protoss"); System.out.println(" C. Terrain, Zerg"); System.out.println(" D. there are three"); answer = "D"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 32:System.out.println("In the show “The Big BANG Theory” Sheldon has a catch phrase, what is it?"); System.out.println(" A. Blast "); System.out.println(" B. Baznga"); System.out.println(" C. Waapow"); System.out.println(" D. Next!!"); answer = "B"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 33:System.out.println("What is the quarterback of the New England Patriots? "); System.out.println(" A. Tom Brady"); System.out.println(" B. Paton Manning"); System.out.println(" C. Nicolas Cage"); System.out.println(" D. Mike Vick"); answer = "A"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 34:System.out.println("In the show “Breaking Bad”, what illegal drug are Walter and Jessie making?"); System.out.println(" A. Aspirin "); System.out.println(" B. Methamphetamine "); System.out.println(" C. That good stuff "); System.out.println(" D. Cocaine "); answer = "D"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 35:System.out.println("Who is the primary enemy you face in “Halo 4”? "); System.out.println(" A. Covenant "); System.out.println(" B. Spartans "); System.out.println(" C. Promethians"); System.out.println(" D. Spetnaz "); answer = "A"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 36:System.out.println("What is the first name of Kramer in the hit series “Seinfeld”? "); System.out.println(" A. Cosmo"); System.out.println(" B. Martian"); System.out.println(" C. Steve"); System.out.println(" D. Dave"); answer = "A"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 37:System.out.println("Who won the Stanley Cup in 1967? "); System.out.println(" A. Penguins "); System.out.println(" B. Jets"); System.out.println(" C. Bruins"); System.out.println(" D. Leafs"); answer = "D"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 38:System.out.println("When did Hitler go into power of Germany? "); System.out.println(" A. 1932"); System.out.println(" B. 1939"); System.out.println(" C. 1945"); System.out.println(" D. 1933 "); answer = "D"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 39:System.out.println("Who was the Man of the Year by time in 1940? "); System.out.println(" A. Tim Horton "); System.out.println(" B. Hitler"); System.out.println(" C. Winston Churchill"); System.out.println(" D. William Lloyd Mackenzie"); answer = "B"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 40:System.out.println("What is the name of the man who created Batman?"); System.out.println(" A. Christian bale"); System.out.println(" B. Bob Bane "); System.out.println(" C. Bruce Wayne"); System.out.println(" D. Bob Wayne"); answer = "B"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 41:System.out.println("In “The Big Bang Theory” which of the five main characters lives with his mother?"); System.out.println(" A. Sheldon"); System.out.println(" B. Raj"); System.out.println(" C. Howard"); System.out.println(" D. Leonard"); answer = "C"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 42:System.out.println("In your body you have two types of pipes that carry blood what are the called?"); System.out.println(" A. veins & organs"); System.out.println(" B. arteries & pipes"); System.out.println(" C. veins & arteries"); System.out.println(" D. pipes & organs "); answer = "C"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 43:System.out.println("What was the name of the main character sci-fi hit Solvent Green?"); System.out.println(" A. Chilton"); System.out.println(" B. Detective Thon"); System.out.println(" C. Tim Huda "); System.out.println(" D. Harry Callahan"); answer = "B"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 44:System.out.println("Who won the Grey Cup in 2007 at the Rogers Center?"); System.out.println(" A. Argos"); System.out.println(" B. tiger cats"); System.out.println(" C. Roughriders"); System.out.println(" D. blue baumers"); answer = "C"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 45:System.out.println("Which hockey team did Don Cherry coach?"); System.out.println(" A. St. Louis "); System.out.println(" B. Toronto"); System.out.println(" C. Hurricanes"); System.out.println(" D. Boston"); answer = "D"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 46:System.out.println("What was the name of the song Adam Sandler remade and sang on 12, 12, 12?"); System.out.println(" A. Hanukah"); System.out.println(" B. Halleluiah"); System.out.println(" C. Stairway to Heaven"); System.out.println(" D. The caught"); answer = "B"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 47:System.out.println("What is the real name of the super villain the Lizard in the Spiderman series?"); System.out.println(" A. Kurt Connors"); System.out.println(" B. Peter Parker"); System.out.println(" C. Norman Osborn"); System.out.println(" D. Spider man"); answer = "A"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 48:System.out.println("What program does Java Script run? "); System.out.println(" A. Blu ray"); System.out.println(" B. Nokia programming"); System.out.println(" C. Xbox"); System.out.println(" D. two of the three"); answer = "D"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 49:System.out.println("Who fought the War of 1812?"); System.out.println(" A. Arabs and the Americans"); System.out.println(" B. the English and the Nazis"); System.out.println(" C. the Americans and the English"); System.out.println(" D. there was no war in 1812"); answer = "C"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; case 50:System.out.println("What was the only Toronto sports team that won five championships in a roll?"); System.out.println(" A. Leafs"); System.out.println(" B. raptors"); System.out.println(" C. jays"); System.out.println(" D. TFC "); answer = "A"; answerin = input.nextLine(); if (answerin.equals(answer)) { System.out.println("Correct."); } else { System.out.println("Incorrect."); } break; } } } else { System.out.println("Fine then..."); } } }