I am trying to write a program to solve a quadratic equation.If the value of (B**B-4*A*C) is 0 or negative, it should immediately write that "The roots of the equation is complex", but if positive, it should evaluate. It seems my logic is faulty cos no matter what values I give for A,B & C, I...
Ok, so I am new to FOTRAN and after installation, got it to work. I use MinGW. Now I try compiling a program and it compiles and runs. However the result is weird. See source code and result below. I get **** as answer. Can someone pls tell me what I am missing. Thanks and regards...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.