Computer Science Program Help

AHSDFAS
Last edited on
You have a stray } on line 45. This shouldn't compile. You might also want to clean this up a bit - you are declaring a bunch of variables as global for no apparent reason. Oh, and the reason you think that "5.3" is a valid answer to "[y/n]?" (and neither 'y' nor 'n' is) is a bit unclear to me.
I had a while if loop after line 39 but it did not work so I deleted it and I forgot to get rid of the }. Could you help me write a proper loop that only accepts the variables y and n
Topic archived. No new replies allowed.