Advertisement
TehHolyIllusion

Javadvice

Jan 17th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. [09:59:20] shagga son of dolf: sorry, was afk there
  2. [10:00:07] shagga son of dolf: have you set it up so you have a, b and c?
  3. [10:01:49] shagga son of dolf: when i say a, b and c i mean that all quadratic equations are in the form of ax^2+bx+c
  4. [10:02:52] shagga son of dolf: you first need a check on b^2-4*a*c, if that's less than 0 you'll get an error if you continue
  5. [10:04:43] shagga son of dolf: when you make sure it's more than 0, you can put it into the quadratic formula
  6. [10:05:32] shagga son of dolf: just be careful with the +/- square root part, and you should be good
  7. [10:06:56] shagga son of dolf: i got to go now, but there's not much stuff that could go wrong with this task
  8. [10:07:43] shagga son of dolf: you basically just want to take an imput, plug it into a formulae (remember to check if there's a solution!) and then output the results
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement