Search:

Type: Posts; User: UniverseCloud

Search: Search took 0.11 seconds.

  1. [SOLVED] Re: What is wrong with this code ( an exercise )

    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...
  2. [SOLVED] Re: What is wrong with this code ( an exercise )

    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...
  3. [SOLVED] Re: What is wrong with this code ( an exercise )

    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)...
  4. [SOLVED] What is wrong with this code ( an exercise )

    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...
Results 1 to 4 of 4