Anybody want to see my program?

Currently reading:
Anybody want to see my program?

Joined
Apr 21, 2003
Messages
22,169
Points
3,110
Location
Nottm
Not my first program but the first since I got a exe compiler.
It works out the quadratic roots.

I would appreciate somebody trying the following:

1
-6
9

It should come out x = 3 and x =3 but my friend uses XP emulation on his mac and it doesn't oddly. THough it does for me.

Cheers
Paul

PS I know it looks crap but we don't; get ANY marks for looks at the moment it seems.
 

Attachments

  • Quadratic.zip
    4.7 KB · Views: 63
He gets an error - the same error as if there are no real root answers (i.e. try 1, 1, 10)- no idea why!

Also error is a = 0 (it's then not a quadratic!)
 
Useless to me, absolutely useless lol, my "supercalc" does that but also does it for complex roots (i.e. b^2 - 4ac < 0).

Useful check for year 8-10 students to see if they are doing quadratic factorisation correctly.
 
Back
Top