Advertisement
Guest User

1910-UnicornCS-LC1

a guest
Oct 23rd, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import java.util.Scanner;
  2.  
  3. public class Vacation {
  4. //dream perfect paradise like a welcome board, then press a button to start
  5. //ideal destinations include
  6. //italy eastern hemisphere
  7. //usa western hemisphere
  8. //puerto rico near USA
  9. // egypt eastern hemisphere
  10.     //show continents for them to choose
  11.     //italy climate?
  12.     //tropical climate only warmth no snow
  13.     //usa has snow
  14.     //egypt is hot
  15.     // should they go in order? kind of like telling a story?
  16.     // should the prices be involved? what currency would they be in?
  17.     //language?
  18.  
  19.     public static void main(String[] args) {
  20.  
  21.     }
  22.  
  23.         private static void Climates() {
  24.             String[] climates = new String[3];
  25.  
  26.             climates[0] = "Tropical Climate";
  27.             climates[1] = "Cold Climate";
  28.             climates[2] = "Dry Climate";
  29.             climates[3] = "Arid Climate";
  30.  
  31.             for (int i=0; i<climates.length;i++){
  32.                 System.out.println(i + " " + climates[i]);
  33.             }
  34.             System.out.println("Pick a Climate");
  35.             Scanner keyboard = new Scanner(System.in);
  36.             int answerclimate = keyboard.nextInt();
  37.  
  38.  
  39.     }
  40.             void Foods() {
  41.  
  42.             String[] foods = new String[3];
  43.  
  44.             foods[0] = "Spaghetti";
  45.             foods[1] = "Hamburger";
  46.             foods[2] = "Rice and Beans";
  47.             foods[3] = "Falafel";
  48.  
  49.                 for (int i=0; i<foods.length;i++){
  50.                     System.out.println(i + " " + foods[i]);
  51.                 }
  52.                 System.out.println("Pick a food");
  53.                 Scanner keyboard = new Scanner(System.in);
  54.                 int answerfood = keyboard.nextInt();
  55.     }
  56.  
  57.             void Beverage() {
  58.  
  59.             String[] beverages = new String[3];
  60.  
  61.             beverages[0] = "Tea";
  62.             beverages[1] = "Coffee";
  63.             beverages[2] = "Piña Colada";
  64.             beverages[3] = "Egyptian Flask";
  65.  
  66.                 for (int i=0; i<beverages.length;i++){
  67.                     System.out.println(i + " " + beverages[i]);
  68.                 }
  69.                 System.out.println("Pick a beverage");
  70.                 Scanner keyboard = new Scanner(System.in);
  71.                 int answerbeverages = keyboard.nextInt();
  72.     }
  73.  
  74.             void Transportaion() {
  75.  
  76.             String[] transportations = new String[3];
  77.  
  78.             transportations[0] = "Airplane";
  79.             transportations[1] = "Car";
  80.             transportations[2] = "Boat";
  81.             transportations[3] = "Tuk Tuks";
  82.  
  83.                 for (int i=0; i<transportations.length;i++){
  84.                     System.out.println(i + " " + transportations[i]);
  85.                 }
  86.                 System.out.println("Which mode of transportation would you ideally use?");
  87.                 Scanner keyboard = new Scanner(System.in);
  88.                 int answertransportations = keyboard.nextInt();
  89.     }
  90.  
  91.             void Duration() {
  92.             // this choice has no value
  93.              String[] durations = new String[3];
  94.  
  95.              durations[0] = "1 week";
  96.              durations[1] = "1 month";
  97.              durations[2] = "1 year";
  98.              durations[3] = "1 day";
  99.  
  100.                 for (int i=0; i<durations.length;i++){
  101.                     System.out.println(i + " " + durations[i]);
  102.                 }
  103.                 System.out.println("How many days would you like to travel?");
  104.                 Scanner keyboard = new Scanner(System.in);
  105.                 int answerdurations = keyboard.nextInt();
  106.     }
  107.  
  108.             void Animal() {
  109.  
  110.                 String[] animals = new String[3];
  111.  
  112.                 animals[0] = "pigeon";
  113.                 animals[1] = "wolf";
  114.                 animals[2] = "parrot";
  115.                 animals[3] = "camel";
  116.  
  117.                 for (int i=0; i<animals.length;i++){
  118.                     System.out.println(i + " " + animals[i]);
  119.                 }
  120.                 System.out.println("Pick the animal you would like to see");
  121.                 Scanner keyboard = new Scanner(System.in);
  122.                 int answeranimals = keyboard.nextInt();
  123.             }
  124.             void Guide() {
  125.  
  126.                 String[] guides = new String[3];
  127.  
  128.                 guides[0] = "italian artist with the hat";
  129.                 guides[1] = "usa guide";
  130.                 guides[2] = "hawaiian shirt";
  131.                 guides[3] = "egyptian turbante";
  132.  
  133.                 for (int i=0; i<guides.length;i++){
  134.                     System.out.println(i + " " + guides[i]);
  135.                 }
  136.                 System.out.println("Select which you would want as a tour guide");
  137.                 Scanner keyboard = new Scanner(System.in);
  138.                 int answerguides = keyboard.nextInt();
  139.             }
  140.             void Sculptures () {
  141.  
  142.                 String[] sculptures = new String[3];
  143.  
  144.                 sculptures[0] = "European statue Venus de Milo";
  145.                 sculptures[1] = "Civil War Artifact";
  146.                 sculptures[2] = "Caribbean Underwater sculpture of Coral Reef or Atalantis";
  147.                 sculptures[3] = "Egyptian statue of Tutankhamon";
  148.  
  149.                 for (int i=0; i<sculptures.length;i++){
  150.                     System.out.println(i + " " + sculptures[i]);
  151.                 }
  152.                 System.out.println("Select your favorite sculpture");
  153.                 Scanner keyboard = new Scanner(System.in);
  154.                 int answersculptures = keyboard.nextInt();
  155.             }
  156.             void Landscapes () {
  157.  
  158.                 String[] landscapes = new String[3];
  159.  
  160.                 landscapes[0] = "Mountains";
  161.                 landscapes[1] = "big house in usa";
  162.                 landscapes[2] = "Ocean";
  163.                 landscapes[3] = "Desert";
  164.  
  165.                 for (int i=0; i<landscapes.length;i++){
  166.                     System.out.println(i + " " + landscapes[i]);
  167.                 }
  168.                 System.out.println("Select your favorite landscape");
  169.                 Scanner keyboard = new Scanner(System.in);
  170.                 int answerlandscapes = keyboard.nextInt();
  171.  
  172.             }
  173.             void Landmarks () {
  174.  
  175.              String[] landmarks = new String[3];
  176.  
  177.              landmarks[0] = "Tower of Pisa";
  178.              landmarks[1] = "US Presidents";
  179.              landmarks[2] = "Playa Bioluminicente Vieques";
  180.              landmarks[3] = "Pyramids en Egypt";
  181.  
  182.                 for (int i=0; i<landmarks.length;i++){
  183.                     System.out.println(i + " " + landmarks[i]);
  184.                 }
  185.                 System.out.println("Select your favorite landmark");
  186.                 Scanner keyboard = new Scanner(System.in);
  187.                 int answerlandmarks = keyboard.nextInt();
  188.             }
  189.  
  190.              void Presidents () {
  191.  
  192.              String[] presidents = new String[3];
  193.  
  194.               presidents[0] = "Quirinal Palace";
  195.               presidents[1] = "White House";
  196.               presidents[2] = "Fortaleza en Viejo San Juan";
  197.               presidents[3] = "Africa Presidents Place";
  198.  
  199.                  for (int i=0; i<presidents.length;i++){
  200.                      System.out.println(i + " " + presidents[i]);
  201.                  }
  202.                  System.out.println("Select the one you like the best");
  203.                  Scanner keyboard = new Scanner(System.in);
  204.                  int answerpresidents = keyboard.nextInt();
  205.     }
  206.  
  207.             void Luggage () {
  208.  
  209. // the outcome  of this question has no value
  210.                 String[] luggages = new String[3];
  211.  
  212.                 luggages[0] = "Simple Backpack";
  213.                 luggages[1] = "Light suitcase";
  214.                 luggages[2] = "Heavy suicase";
  215.                 luggages[3] = "Heavy Exploring Backpack";
  216.  
  217.                 for (int i=0; i<luggages.length;i++){
  218.                     System.out.println(i + " " + luggages[i]);
  219.                 }
  220.                 System.out.println("Pick a Bag");
  221.                 Scanner keyboard = new Scanner(System.in);
  222.                 int answerluggages = keyboard.nextInt();
  223.             }
  224.             void Snack () {
  225.  
  226.                 String[] snacks = new String[3];
  227.  
  228.                 snacks[0] = "Kinder Brioss";
  229.                 snacks[1] = "Welchs";
  230.                 snacks[2] = "Piragua";
  231.                 snacks[3] = "Motto";
  232.  
  233.                 for (int i=0; i<snacks.length;i++){
  234.                     System.out.println(i + " " + snacks[i]);
  235.                 }
  236.                 System.out.println("Pick a Snack");
  237.                 Scanner keyboard = new Scanner(System.in);
  238.                 int answersnacks = keyboard.nextInt();
  239.  
  240.             }
  241.             void Dessert () {
  242.  
  243.                 String[] desserts = new String[3];
  244.  
  245.                 desserts[0] = "Gelato";
  246.                 desserts[1] = "Kit Kat";
  247.                 desserts[2] = "Tembleque";
  248.                 desserts[3] = "Basbusa";
  249.  
  250.                 for (int i=0; i<desserts.length;i++){
  251.                     System.out.println(i + " " + desserts[i]);
  252.                 }
  253.                 System.out.println("Pick a Dessert");
  254.                 Scanner keyboard = new Scanner(System.in);
  255.                 int answerdesserts = keyboard.nextInt();
  256.             }
  257.             class Final {
  258.                 String destination;
  259.  
  260.                 void speak() {
  261.                     System.out.println("Your travel destination is: " + destination);
  262.                 }
  263.             }
  264.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement