I have written a script to prompt the user to enter values between 30 and 100. Now I want to print all the number greater than 50 in the list when the user presses the space bar. I am confused on how to go through the list and print numbers greater than 50. Can someone give me hint?
This is what I have so far:
The program works till I press space key. It doesn't run after that.