Well, i was using an online compiler to run this program and it seems that the compiler didnt accept scanner ?? so recently i got my laptop back and wrote the program on dr.java and it worked! It was...
Type: Posts; User: UniverseCloud
Well, i was using an online compiler to run this program and it seems that the compiler didnt accept scanner ?? so recently i got my laptop back and wrote the program on dr.java and it worked! It was...
Sorry for the late reply! Been on and off on this question (Dont know why the its still giving me an error, a new one)
Like, i got the else if part right but when it comes to both together to be...
Here is there errors and the full code:
2 errors found:
File: C:\Users\omar-\Desktop\java learning\ChapterThree.java [line: 17]
Error: The operator && is undefined for the argument type(s)...
So the exercise tells me to get the values a, b and c from the user and then use the quadratic formula to get both roots.
if both are above 0, display both roots
if both are 0, display 1 root
if...