I have tried running my code, and I think I have set it up right. However it does not wrong. I was wondering what is wrong with it. Here is the prompt:
Prompt the user for an integer value until the value -1 is entered. Print out each of the values entered on its own line before -1 is entered. Do not print out the -1.