Posts Tagged ‘21017’
Given that a method receives three parameters a, b, c, of type double , write some code, to be included as part of the method , that determines whether the value of “b squared” – 4ac is negative. If negative, the code prints out the message “no real solutions” and returns from the method
LANGUAGE: JAVA CHALLENGE: Given that a method receives three parameters a, b, c, of type double , write some code, to be included as part of the method , that determines whether the value of “b squared” – 4ac is negative. If negative, the code prints out the message “no real solutions” and returns from the…
Read More