0

I'm wondering if this is the correct code for getting the user input for Mario. It isn't asking the user to "retry", but just asking for an integer over and over until it meets the parameters. Before I move on to the pyramid, would like to make sure this part is okay.

3
  • You are going good. You code snippet is absolutely okay. Go Ahead! – Prateek Jul 1 '15 at 16:27
  • you should test your program by running it and trying different kinds of input. you should see the retry: prompting message only when you don't provide an int. this is done by GetInt from the cs50 library! – Kareem Jul 1 '15 at 16:41
  • cool thanks! I appreciate it – Marin Fernald Jul 1 '15 at 20:13

You must log in to answer this question.

Browse other questions tagged .