Share your repls and programming experiences

← Back to all posts
simple calculator
EthanWilhite (0)

it does not show decimals but everything else should work

Comments
hotnewtop
Charlie406 (0)

Very good calculator. But when you are given the option to try another sum if you then press "y" it fails and says "okay goodbye". I think its because you input your "newcalc" fucntion in your addition subtraction etc functions where as your new calc function is placed below all your addition subtraction etc functions so your "newcalc" function does not exist to the other functions until after they have played out. I think if you placed the "newcalc" function above all of the other functions right at the top then it should work. (Ill see if i can get it working now and if it works ill send you the repl so you can fork it)