/**
* @(#)HypeShop.java
*
*
* @
author
* @
VERSION 1.00 2017/11/29
*/
import java.awt.*;
import java.util.Scanner;
public class HypeShop {
public static void main(String[] args) {
int bud;
Scanner input = new Scanner(System.in);
System.out.print("Type your starting budget: ");
int bud = input.nextLine();
int hype = 0;
// MAIN CLASS HERE
// ---------------------------------------------------------------------------------------
// Expensive switch option // guccijacket gucciishoes nikeoffwhite LVBag
if (bud >= 5300)
System.out.println("1: Gucci Shoes");
System.out.println("2: Gucci Jacket");
System.out.println("3: NikeOffWhite");
System.out.println("4: LVBag");
Scanner scan = new Scanner(System.in);
String choice = scan.nextLine();
do{
switch (choice){
case "1":
System.out.println("This Costs $600");
System.out.println("This adds 35 points of hype!");
System.out.println("Your Budget:" bud - 600);
System.out.println("Your Hype: " hype+35);
break;
case "2":
System.out.println("This Costs $1400");
System.out.println("This adds 50 points of hype!");
System.out.println("Your Budget: " bud - 1400);
System.out.println("Your Hype: " hype + 50);
break;
case "3":
System.out.println("This Costs $1500");
System.out.println("This adds 75 points of hype!");
System.out.println("Your Budget: " bud - 1500);
System.out.println("Your Hype: " hype + 75);
break;
case "4":
System.out.println("This Costs $1800");
System.out.println("This adds 150 points of hype!");
System.out.println("Your Budget: " bud - 1800);
System.out.println("Your Hype: " hype + 150);
break;
}
}
}
// ---------------------------------------------------------------------------------------
// Medium Switch options
if (Budget <= 1780 && Budget >= 510)
System.out.println("1: Bogo Hoodie");
System.out.println("2: Supreme Box Logo Tee");
System.out.println("3: Bape Shark Hoodie");
System.out.println("4: Gucci Flip Flops");
Scanner scan = new Scanner(System.in);
String choice = scan.nextLine();
do{
switch (choice){
case "1":
System.out.println("This Costs $800");
System.out.println("This adds 50 points of hype!");
System.out.println("Your Budget: " bud - 800);
System.out.println("Your Hype: " hype + 50);
break;
case "2":
System.out.println("This Costs $450");
System.out.println("This adds 45 points of hype!");
System.out.println("Your Budget: " bud - 450);
System.out.println("Your Hype: " hype + 45);
break;
case "3":
System.out.println("This Costs $550");
System.out.println("This adds 55 points of hype!");
System.out.println("Your Budget: " bud - 550);
System.out.println("Your Hype: " hype + 55);
break;
case "4":
System.out.println("This Costs $250");
System.out.println("This adds 60 points of hype!");
System.out.println("Your Budget: " bud - 250);
System.out.println("Your Hype: " hype + 60);
break;
}
// ---------------------------------------------------------------------------------------
if (Budget<=510)
System.out.println("1: Bape Chain");
System.out.println("2: Off White Belt");
System.out.println("3: Supreme Tin");
System.out.println("4: Versache Socks");
Scanner scan = new Scanner(System.in);
String choice = scan.nextLine();
do{
switch (choice){
case "1":
System.out.println("This Costs $180");
System.out.println("This adds 50 points of hype!");
System.out.println("Your Budget: " bud - 180);
System.out.println("Your Hype: " hype + 50);
break;
case "2":
System.out.println("This Costs $150");
System.out.println("This adds 55 points of hype!");
System.out.println("Your Budget: " bud - 150);
System.out.println("Your Hype: " hype + 55);
break;
case "3":
System.out.println("This Costs $100");
System.out.println("This adds 35 points of hype!");
System.out.println("Your Budget: " bud - 100);
System.out.println("Your Hype: " hype + 35);
break;
case "4":
System.out.println("This Costs $85");
System.out.println("This adds 30 points of hype!");
System.out.println("Your Budget: " bud - 85);
System.out.println("Your Hype: " hype + 30);
break;
// ---------------------------------------------------------------------------------------
if (Hype == 150 && Budget >= MyBudget)
{
System.out.println("You Win!!");
}
else
{
System.out.println("You Lose, Try Again");
}
}
}
}
}
ITS BAD . basically getting a error ')" expected on every line like this
System.out.println("Your budget is : " budget - 600);