Originally Posted by GeorgeGFX View Post
If you want to get into the field of coding, it's a bad thing (and a bad habit also) asking people to literally write the code for you.
I could do it and so could other people but it would be pointless if you're not even trying to write the code yourself, not doing that would get you to nowhere..
A few hints;
Create a variable > parse it to double/decimal and read it from the console (say it's nameOfVariable).
Create a method called rootIsPositive(double <nameOfVariable>)
Make a boolean inside the method and set it to true
Make if-checks or use create a whole case (an if would be better) > write your algorithm > done.
Meh I really dont want to get into coding, Its in my school subject and i cant change it bc im late asf, anyway thanks for the help