Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [09:59:20] shagga son of dolf: sorry, was afk there
- [10:00:07] shagga son of dolf: have you set it up so you have a, b and c?
- [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
- [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
- [10:04:43] shagga son of dolf: when you make sure it's more than 0, you can put it into the quadratic formula
- [10:05:32] shagga son of dolf: just be careful with the +/- square root part, and you should be good
- [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
- [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