I am programming a method for the following problem but am a little unclear on the "method" piece. I have my code
below and thought that accomplished the task, but as I reread feel like I am missing something.. Do I need to add something else? You do not need to send specific code, but any direction would be helpful. I used Java programming as the subject line, but this is really supposed to be written in pseudocode.
Your method should loop conditionally (do ... while) getting input from the user. If the number is not between low and high inclusive it should print an error msg and continue to loop until the user enters a valid value...
numLow = 1
numHigh = 5
output "Enter your number:___"
if value > numLow AND < numHigh
output "Error, number out of range. Please enter another number:____"
output "Thank you"