REDACTED 184
Posts 277
Rep 153
Vouches: 9
Credits: 599
GiftBronze MedalSilver MedalGold MedalVoid
Offline
OP12-06-2017, 02:49 PM
#1

(This post was last modified: 03-18-2020, 11:40 PM by brand.)
REDACTED

Posts 281
Rep 63
GiftBronze MedalGold MedalSilver Medal
Offline
12-07-2017, 02:08 AM
#2
(This post was last modified: 12-07-2017, 02:08 AM by repel.)
DM me. I think I MAY be able to help, not sure about it tho [i despise java and stopped learning at one point]

Posts 2,186
Rep 1,034
Vouches: 146
Credits: 21,719
NightNightNightNightNightHeartTridentTridentTridentTridentTridentGold MedalBronze MedalSilver MedalHalloweenGiftVoidPalm TreeBronze CoinSilver CoinSunApolloCheersMigrationGold CoinJukeboxInstagramIron SwordWeebDemonGhostActiveGrenadeRichestHustlerHigh Roller
Offline
12-07-2017, 11:34 AM
#4
Search on YouTube bro



Failure will never overtake me if my determination to succeed is strong enough.
Discord: Rich#7777


Failure will never overtake me if my determination to succeed is strong enough.
Discord: Rich#7777


Failure will never overtake me if my determination to succeed is strong enough.
Discord: Rich#7777


Failure will never overtake me if my determination to succeed is strong enough.
Discord: Rich#7777
Posts 1,425
Rep 51
Offline
12-07-2017, 11:35 AM
#5
(This post was last modified: 12-07-2017, 11:35 AM by username13065.)
(12-07-2017, 02:08 AM)nonbinary Wrote:DM me. I think I MAY be able to help, not sure about it tho [i despise java and stopped learning at one point]

Java is gay and is only good for backend, facts

Posts 281
Rep 63
GiftBronze MedalGold MedalSilver Medal
Offline
12-07-2017, 11:38 AM
#6
(12-07-2017, 11:35 AM)osiris Wrote:Java is gay and is only good for backend, facts

don't forget the minecraft sex mods you can make using java

Posts 277
Rep 153
Vouches: 9
Credits: 599
GiftBronze MedalSilver MedalGold MedalVoid
Offline
OP12-07-2017, 04:10 PM
#7
/**
* @(#)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);



Users browsing this thread: 1 Guest(s)