Page 1 of 1

Help with result printing

Posted: Thu May 12, 2011 11:09 am
by sepuku
Hello there people!I'm writing the quadratic equation to scheme lisp and i need some help with the results printing:

1)If i define some calculations to the variable a,how do i print the result of the calculations that is stored to a?

2)If the result is a cons then how do i print the cons ?

I tried the display command but i cannot make it work. :/

Please answer me as soon as possible!

Thank you in advance.

Re: Help with result printing

Posted: Mon May 16, 2011 1:05 am
by saulgoode
Could you post the code you are using?

Re: Help with result printing

Posted: Mon May 16, 2011 9:18 am
by sepuku
I finally managed to correct my code: A was using uneeded parenthesies! :ugeek: