r/programminglolz • u/gniziemazity • Oct 12 '20
Funny coding interview
r/programminglolz • u/BooBooCachooChoo • Mar 11 '20
r/programminglolz • u/cachichas_too • Feb 14 '19
Example: The Blue Screen of Death
r/programminglolz • u/[deleted] • Dec 08 '18
r/programminglolz • u/[deleted] • Jun 20 '12
r/programminglolz • u/username223 • Mar 20 '12
r/programminglolz • u/username223 • Feb 27 '12
r/programminglolz • u/username223 • Feb 21 '12
r/programminglolz • u/NoMoCouch • Feb 09 '12
public double getShippingCharge(String shippingType, bool saturday, double subTot)
{
double shCharge = 0.00;
if(shippingType.Equals("Ground"))
{
if(subTot <= 29.99 && subTot > 0)
{
shCharge = 4.95;
}
else if(subTot <= 99.99 && subTot > 29.99)
{
shCharge = 7.95;
}
else if(subTot <= 299.99 && subTot > 99.99)
{
shCharge = 9.95;
}
else if(subTot > 299.99)
{
shCharge = subTot * .05;
}
}
else if(shippingType.Equals("Two-Day"))
{
if(subTot <= 29.99 && subTot > 0)
{
shCharge = 14.95;
}
else if(subTot <= 99.99 && subTot > 29.99)
{
shCharge = 19.95;
}
else if(subTot <= 299.99 && subTot > 99.99)
{
shCharge = 29.95;
}
else if(subTot > 299.99)
{
shCharge = subTot * .10;
}
}
else if(shippingType.Equals("Next Day"))
{
if(subTot <= 29.99 && subTot > 0)
{
shCharge = 24.95;
}
else if(subTot <= 99.99 && subTot > 29.99)
{
shCharge = 34.95;
}
else if(subTot <= 299.99 && subTot > 99.99)
{
shCharge = 44.95;
}
else if(subTot > 299.99)
{
shCharge = subTot * .15;
}
}
else if(shippingType.Equals("Next Day a.m."))
{
if(subTot <= 29.99 && subTot > 0)
{
shCharge = 29.95;
}
else if(subTot <= 99.99 && subTot > 29.99)
{
shCharge = 39.95;
}
else if(subTot <= 299.99 && subTot > 99.99)
{
shCharge = 49.95;
}
else if(subTot > 299.99)
{
shCharge = subTot * .20;
}
}
return shCharge;
}r/programminglolz • u/gravitypushes • Jan 26 '12
...my brain fried...frustrated...I go get something to eat in the refrigerator. I start to slide the bottom shelf out and it's stuck...I can't get it to slide out no matter what I do. I keep jiggling it back and forth for a minute until I find myself screaming at it...WHERE IS THE ERROR! WHERE IS THE ERROR!
r/programminglolz • u/aaronla • Sep 30 '11
r/programminglolz • u/username223 • Apr 29 '11
r/programminglolz • u/username223 • Mar 21 '11
r/programminglolz • u/username223 • Mar 18 '11
r/programminglolz • u/username223 • Mar 09 '11
r/programminglolz • u/username223 • Mar 01 '11