Hello!
I am an extreme beginner to programming and I'm struggling to understand what i'm doing wrong on my current assignment.
My professor wants us to write a C++ program that utilizes a function named “find_root” to find the roots of a second order polynomial. Prompt the user for the coefficients and you must create the “find_root” function and all arguments must be "pass by reference". In this case, “find_root” need only be called once per execution of the program. All output must be from within the main program. Only three arguments can be used in the function and all must be pass by reference. No global variables can be used.
I keep getting the wrong answers and I can't figure out if i'm doing pass by reference incorrectly or if it's my math but here is what I have so far.
Any hints will be greatly appreciated.