Quadratic equation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thesis99
    New Member
    • Mar 2008
    • 16

    Quadratic equation

    I have written the program that asks for a,b,c. it then gives //xnanynan// for an answer. Don't understand. can anyone help!
  • thesis99
    New Member
    • Mar 2008
    • 16

    #2
    Is it because I might not have something to declare if it is 0

    Comment

    • DaemonCoder
      New Member
      • Mar 2008
      • 43

      #3
      If you could post the portion of code where you think the bug might be, someone might be able to better help you. Right now based on the description.... I think is is a variable scope problem...

      Comment

      • whodgson
        Contributor
        • Jan 2007
        • 542

        #4
        The message is short for x and y Not A Number

        Comment

        • thesis99
          New Member
          • Mar 2008
          • 16

          #5
          Thanks for your help!

          Comment

          Working...