Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class Vacation {
- //dream perfect paradise like a welcome board, then press a button to start
- //ideal destinations include
- //italy eastern hemisphere
- //usa western hemisphere
- //puerto rico near USA
- // egypt eastern hemisphere
- //show continents for them to choose
- //italy climate?
- //tropical climate only warmth no snow
- //usa has snow
- //egypt is hot
- // should they go in order? kind of like telling a story?
- // should the prices be involved? what currency would they be in?
- //language?
- public static void main(String[] args) {
- }
- private static void Climates() {
- String[] climates = new String[3];
- climates[0] = "Tropical Climate";
- climates[1] = "Cold Climate";
- climates[2] = "Dry Climate";
- climates[3] = "Arid Climate";
- for (int i=0; i<climates.length;i++){
- System.out.println(i + " " + climates[i]);
- }
- System.out.println("Pick a Climate");
- Scanner keyboard = new Scanner(System.in);
- int answerclimate = keyboard.nextInt();
- }
- void Foods() {
- String[] foods = new String[3];
- foods[0] = "Spaghetti";
- foods[1] = "Hamburger";
- foods[2] = "Rice and Beans";
- foods[3] = "Falafel";
- for (int i=0; i<foods.length;i++){
- System.out.println(i + " " + foods[i]);
- }
- System.out.println("Pick a food");
- Scanner keyboard = new Scanner(System.in);
- int answerfood = keyboard.nextInt();
- }
- void Beverage() {
- String[] beverages = new String[3];
- beverages[0] = "Tea";
- beverages[1] = "Coffee";
- beverages[2] = "Piña Colada";
- beverages[3] = "Egyptian Flask";
- for (int i=0; i<beverages.length;i++){
- System.out.println(i + " " + beverages[i]);
- }
- System.out.println("Pick a beverage");
- Scanner keyboard = new Scanner(System.in);
- int answerbeverages = keyboard.nextInt();
- }
- void Transportaion() {
- String[] transportations = new String[3];
- transportations[0] = "Airplane";
- transportations[1] = "Car";
- transportations[2] = "Boat";
- transportations[3] = "Tuk Tuks";
- for (int i=0; i<transportations.length;i++){
- System.out.println(i + " " + transportations[i]);
- }
- System.out.println("Which mode of transportation would you ideally use?");
- Scanner keyboard = new Scanner(System.in);
- int answertransportations = keyboard.nextInt();
- }
- void Duration() {
- // this choice has no value
- String[] durations = new String[3];
- durations[0] = "1 week";
- durations[1] = "1 month";
- durations[2] = "1 year";
- durations[3] = "1 day";
- for (int i=0; i<durations.length;i++){
- System.out.println(i + " " + durations[i]);
- }
- System.out.println("How many days would you like to travel?");
- Scanner keyboard = new Scanner(System.in);
- int answerdurations = keyboard.nextInt();
- }
- void Animal() {
- String[] animals = new String[3];
- animals[0] = "pigeon";
- animals[1] = "wolf";
- animals[2] = "parrot";
- animals[3] = "camel";
- for (int i=0; i<animals.length;i++){
- System.out.println(i + " " + animals[i]);
- }
- System.out.println("Pick the animal you would like to see");
- Scanner keyboard = new Scanner(System.in);
- int answeranimals = keyboard.nextInt();
- }
- void Guide() {
- String[] guides = new String[3];
- guides[0] = "italian artist with the hat";
- guides[1] = "usa guide";
- guides[2] = "hawaiian shirt";
- guides[3] = "egyptian turbante";
- for (int i=0; i<guides.length;i++){
- System.out.println(i + " " + guides[i]);
- }
- System.out.println("Select which you would want as a tour guide");
- Scanner keyboard = new Scanner(System.in);
- int answerguides = keyboard.nextInt();
- }
- void Sculptures () {
- String[] sculptures = new String[3];
- sculptures[0] = "European statue Venus de Milo";
- sculptures[1] = "Civil War Artifact";
- sculptures[2] = "Caribbean Underwater sculpture of Coral Reef or Atalantis";
- sculptures[3] = "Egyptian statue of Tutankhamon";
- for (int i=0; i<sculptures.length;i++){
- System.out.println(i + " " + sculptures[i]);
- }
- System.out.println("Select your favorite sculpture");
- Scanner keyboard = new Scanner(System.in);
- int answersculptures = keyboard.nextInt();
- }
- void Landscapes () {
- String[] landscapes = new String[3];
- landscapes[0] = "Mountains";
- landscapes[1] = "big house in usa";
- landscapes[2] = "Ocean";
- landscapes[3] = "Desert";
- for (int i=0; i<landscapes.length;i++){
- System.out.println(i + " " + landscapes[i]);
- }
- System.out.println("Select your favorite landscape");
- Scanner keyboard = new Scanner(System.in);
- int answerlandscapes = keyboard.nextInt();
- }
- void Landmarks () {
- String[] landmarks = new String[3];
- landmarks[0] = "Tower of Pisa";
- landmarks[1] = "US Presidents";
- landmarks[2] = "Playa Bioluminicente Vieques";
- landmarks[3] = "Pyramids en Egypt";
- for (int i=0; i<landmarks.length;i++){
- System.out.println(i + " " + landmarks[i]);
- }
- System.out.println("Select your favorite landmark");
- Scanner keyboard = new Scanner(System.in);
- int answerlandmarks = keyboard.nextInt();
- }
- void Presidents () {
- String[] presidents = new String[3];
- presidents[0] = "Quirinal Palace";
- presidents[1] = "White House";
- presidents[2] = "Fortaleza en Viejo San Juan";
- presidents[3] = "Africa Presidents Place";
- for (int i=0; i<presidents.length;i++){
- System.out.println(i + " " + presidents[i]);
- }
- System.out.println("Select the one you like the best");
- Scanner keyboard = new Scanner(System.in);
- int answerpresidents = keyboard.nextInt();
- }
- void Luggage () {
- // the outcome of this question has no value
- String[] luggages = new String[3];
- luggages[0] = "Simple Backpack";
- luggages[1] = "Light suitcase";
- luggages[2] = "Heavy suicase";
- luggages[3] = "Heavy Exploring Backpack";
- for (int i=0; i<luggages.length;i++){
- System.out.println(i + " " + luggages[i]);
- }
- System.out.println("Pick a Bag");
- Scanner keyboard = new Scanner(System.in);
- int answerluggages = keyboard.nextInt();
- }
- void Snack () {
- String[] snacks = new String[3];
- snacks[0] = "Kinder Brioss";
- snacks[1] = "Welchs";
- snacks[2] = "Piragua";
- snacks[3] = "Motto";
- for (int i=0; i<snacks.length;i++){
- System.out.println(i + " " + snacks[i]);
- }
- System.out.println("Pick a Snack");
- Scanner keyboard = new Scanner(System.in);
- int answersnacks = keyboard.nextInt();
- }
- void Dessert () {
- String[] desserts = new String[3];
- desserts[0] = "Gelato";
- desserts[1] = "Kit Kat";
- desserts[2] = "Tembleque";
- desserts[3] = "Basbusa";
- for (int i=0; i<desserts.length;i++){
- System.out.println(i + " " + desserts[i]);
- }
- System.out.println("Pick a Dessert");
- Scanner keyboard = new Scanner(System.in);
- int answerdesserts = keyboard.nextInt();
- }
- class Final {
- String destination;
- void speak() {
- System.out.println("Your travel destination is: " + destination);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement