186

when you have no QA department
- via CodeHumor

Comments
  • 10
    Score < 85 = failed
    Score > 85 = passed

    Score == 85, why not both? 😂😂😂
  • 17
    @pai-shinoda let me correct you
    score ≤ 85 = failed
    score ≥ 85 = passed

    if it was just "<" and ">" and you got 85 it would not say anything because both conditions would evaluate to false

    Edit: Oh you used score == 85 ... nevermind then, ignore my comment 😅
  • 0
    @bytecode mind me, love to troll with people’s coding.. 🙈
  • 5
    2 bugs:

    if (score <= 85) print "FAILED"
    // else
    if (score >= 85) print "PASSED"
    return;
  • 3
    Truelse!
  • 2
    This looks like FizzBuzz exercise 🤣
  • 0
    Fuck 🤣🤣
  • 0
    Impressive
  • 0
    “You passed but you should be ashamed, you could get a better grade”
    It’s the only thing that comes to my mind in order to justify that bug XD
  • 0
    Wait, why is the condition checked twice?
Add Comment