I'm studying computer science in year 12 and I need to create a quadratic equation calculator using pc-basic.
I've fixed most of the errors but I don't think line 70 and 80 are correct.Could someone help me please? http://imgur.com/9nYiJLO
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "[CLOSED] General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I'm studying computer science in year 12 and I need to create a quadratic equation calculator using pc-basic.
I've fixed most of the errors but I don't think line 70 and 80 are correct.Could someone help me please? http://imgur.com/9nYiJLO
Since this is a homework question, I'm going to give you this hint rather than the answer: check the rules on operator precedence.
(On a side note - seriously, PC-BASIC is used in schools? Whee...:)