Goddamn, Hunger Games was disappointing. Battle Royale is a better movie and book by far.
Your variable names are memes and do you really need to have them as doubles.kirueggy wrote:
Someone please revise my java code or whateverbig ass java code* Write a description of class DeathAndTaxes here.
*
* @author (Enrico Saturnino)
* @version (2015)
*/
import java.util.*;
import java.lang.Math;
public class DeathAndTaxes
{
public static void main(String[] args)
{
Scanner keyboard = new Scanner(System.in);
char status;
int income = 0;
//Starting point values
double Serf = 0;
double Peasant = 922.50;
double Commoner = 5156.2;
double Noble = 18481.21;
double YeahNowWereGettingSomewhere = 46075.25;
double HotDamn = 119401.25;
double ThatCheddarTho = 119996.25;
//Starting point values
double MarriedSerf = 0;
double MarriedPeasant = 1845;
double MarriedCommoner = 10312.50;
double MarriedNoble = 29387.50;
double MarriedYeahNowWereGettingSomewhere = 51577.50;
double MarriedHotDamn = 111324;
double MarriedThatCheddarTho = 129996.5;
//percentage taxed values
double GetTaxedPleb = .10;
double GetTaxedNoob = .15;
double GetTaxedNormie = .25;
double GetTaxedYo = .28;
double GetTaxedKindaRichGuy = .33;
double IveRunOutOfNames = .35;
double LolThisIsGonnaEndUpYoursAgainAnyway = .396;
//wealth boundaries
double InstantNoodles= 9225;
double Sandwich= 37450;
double Steak= 90750;
double Lobster= 189300;
double Caviar= 411500;
double TigerGenitals= 413200;
//Married wealth boundaries
double MarriedInstantNoodles= 18450;
double MarriedSandwich= 74900;
double MarriedSteak= 151200;
double MarriedLobster= 230450;
double MarriedCaviar= 411500;
double MarriedTigerGenitals= 464580;
//ultimate tax income
double Poverty = 0;
double PrettyPoor = 0;
double Moderate = 0;
double Affluent = 0;
double Rich = 0;
double RichAf = 0;
double DamnSon = 0;
//ultimate tax income
double MarriedPoverty = 0;
double MarriedPrettyPoor = 0;
double MarriedModerate = 0;
double MarriedAffluent = 0;
double MarriedRich = 0;
double MarriedRichAf = 0;
double MarriedDamnSon = 0;
System.out.print("Are you married?(Y/N) ");
status = keyboard.next().charAt(0);
if (status == 'N' )
{
System.out.println("[Single]What is your taxable income?");
income = keyboard.nextInt();
Poverty = (income * GetTaxedPleb);
PrettyPoor = ((income * GetTaxedNoob) + Peasant);
Moderate = ((income * GetTaxedNormie) + Commoner);
Affluent = ((income * GetTaxedYo) + Noble);
Rich = ((income * GetTaxedKindaRichGuy) + YeahNowWereGettingSomewhere);
RichAf = ((income * IveRunOutOfNames) + HotDamn);
DamnSon = ((income * LolThisIsGonnaEndUpYoursAgainAnyway) + ThatCheddarTho);
}
else if (status == 'Y' )
{
System.out.println("[Married]What is your taxable income?");
income = keyboard.nextInt();
MarriedPoverty = (income * GetTaxedPleb);
MarriedPrettyPoor = ((income * GetTaxedNoob) + MarriedPeasant);
MarriedModerate = ((income * GetTaxedNormie) + MarriedCommoner);
MarriedAffluent = ((income * GetTaxedYo) + MarriedNoble);
MarriedRich = ((income * GetTaxedKindaRichGuy) + MarriedYeahNowWereGettingSomewhere);
MarriedRichAf = ((income * IveRunOutOfNames) + MarriedHotDamn);
MarriedDamnSon = ((income * LolThisIsGonnaEndUpYoursAgainAnyway) + MarriedThatCheddarTho);
}
else
{
System.out.println("Sorry, that's not an acceptable input. Please try again!");
}
if (status == 'N' && income <= InstantNoodles && income >= 1)
{
System.out.println("Taxes due: $ " + Poverty);
}
if (status == 'N' && income <= Sandwich && income >= InstantNoodles)
{
System.out.println("Taxes due: $ " + PrettyPoor);
}
if (status == 'N' && income <= Steak && income >= Sandwich)
{
System.out.println("Taxes due: $ " + Moderate);
}
if (status == 'N' && income <= Lobster && income >= Steak)
{
System.out.println("Taxes due: $ " + Affluent);
}
if (status == 'N' && income <= Caviar && income >= Lobster)
{
System.out.println("Taxes due: $ " + Rich);
}
if (status == 'N' && income <= TigerGenitals && income >= Caviar)
{
System.out.println("Taxes due: $ " + RichAf);
}
if (status == 'N' && income >= TigerGenitals)
{
System.out.println("Taxes due: $ " + DamnSon);
}
if (status == 'Y' && income <= MarriedInstantNoodles && income >= 1)
{
System.out.println("Taxes due: $ " + MarriedPoverty);
}
if (status == 'Y' && income <= MarriedSandwich && income >= MarriedInstantNoodles)
{
System.out.println("Taxes due: $ " + MarriedPrettyPoor);
}
if (status == 'Y' && income <= MarriedSteak && income >= MarriedSandwich)
{
System.out.println("Taxes due: $ " + MarriedModerate);
}
if (status == 'Y' && income <= MarriedLobster && income >= MarriedSteak)
{
System.out.println("Taxes due: $ " + MarriedAffluent);
}
if (status == 'Y' && income <= MarriedCaviar && income >= MarriedLobster)
{
System.out.println("Taxes due: $ " + MarriedRich);
}
if (status == 'Y' && income <= MarriedTigerGenitals && income >= MarriedCaviar)
{
System.out.println("Taxes due: $ " + MarriedRichAf);
}
if (status == 'Y' && income >= MarriedTigerGenitals)
{
System.out.println("Taxes due: $" + MarriedDamnSon);
}
}
}
We just gonna ignore this cute anime girl? Ok... RIP Brian OA's relevanceBrian OA wrote:
According to you and thousands of other older men on the internetZelda wrote:
Goddamn, Hunger Games was disappointing. Battle Royale is a better movie and book by far.
They split it into two parts, just like with deathly hallows. What a fucking money squeeze.Green Platinum wrote:
Third Hunger Games book was super boring I can't imagine how the film adaption went
SaigonAlice wrote:
But I'm not an old manSaigonAlice wrote:
According to you and thousands of other older men on the internetZelda wrote:
Goddamn, Hunger Games was disappointing. Battle Royale is a better movie and book by far.
where have you been? besides schoolSaigonAlice wrote:
I didn't actually write that
I had school.
your the nearest brick wallBrian OA wrote:
I have spoken
You may direct all of your complaints at your nearest brick wall now.
no I think its his brick wall, what are you talking aboutahsoka08 wrote:
no he is the brick wallIppE wrote:
his brick wall?
he is the brick that stands in my way to post the shit I want, I'm trying to figure out how to blow it upRailey2 wrote:
no I think its his brick wall, what are you talking aboutahsoka08 wrote:
no he is the brick wall
or we could euthanize ur bitch ass for shitpostingSaigonAlice wrote:
literally euthanize offtopic
Half of us were shitting ourselves about a pronoun, but the people that never caught on shat themselves about brick walls.SaigonAlice wrote:
it really shows how unfunny offtopic is when everyone is shitting themselves about a fucking brick wall
literally euthanize offtopic
kirueggy wrote:
or we could euthanize ur bitch ass for shitpostingSaigonAlice wrote:
literally euthanize offtopic
Yes yes, a dumb cunt yadda yaddaSaigonAlice wrote:
i, a proud shitposter
Cis is generally better than TransKhelly wrote:
These lunchables have transfats. Is that better than cisfats?
It should be fine, but if you're still looking for one I'd recommend you get a 550-600W PSU that at least has a 80+ certification. If it doesn't have that it means it's crappy and inefficient, you should get a quality PSU. Crappy PSU's tend to exaggerate their wattage capacity, and not to mention that all of them degrade as they get older.dNextGen wrote:
i'd just leave this here in case anybody that knows shit about power supplies happen to pass by
right now im trying to power R9 290 Tri-X with this PSU, it has 41.5Amps on the 12V rail
will that PSU be able to cope with the load ? most of review sites are getting 300 to mid 400 watts during load, but everyone keep telling me to buy a new 650W PSU
if you don't like it, you're more than welcome to leave.SaigonAlice wrote:
it really shows how unfunny offtopic is when everyone is shitting themselves about a fucking brick wall
literally euthanize offtopic
actually nvm, already have a 280X and buying a 290 just for shit and giggles would be stupiddNextGen wrote:
i'd just leave this here in case anybody that knows shit about power supplies happen to pass by
right now im trying to power R9 290 Tri-X with this PSU, it has 41.5Amps on the 12V rail
will that PSU be able to cope with the load ? most of review sites are getting 300 to mid 400 watts during load, but everyone keep telling me to buy a new 650W PSU
well, mine is made by SuperFlower though, literally the one company that can take on Seasonic head2head, mine doesnt have the 80+ certification because it only does 230VACB1rd wrote:
It should be fine, but if you're still looking for one I'd recommend you get a 550-600W PSU that at least has a 80+ certification. If it doesn't have that it means it's crappy and inefficient,
hi b1rdB1rd wrote:
if you don't like it, you're more than welcome to leave.
You heard it here folks; don't let saigonalice know.Green Platinum wrote:
Cis is generally better than TransKhelly wrote:
These lunchables have transfats. Is that better than cisfats?
this is you and khelkirueggy wrote:
nigga pissing me off by the minute tbh he was worse than 2014 me + sonatora combined