console.writeline("You have 10 attempts to guess the number. ")
Do until choice = num1 or attempt = 0
console.writeline("Pick a number from 1-100: ")
choice = console.readline()
console.writeline("The number is too high. Try again:")
console.writeline("You have " & attempt & " attempts left: ")
console.writeline("The number is too low. Try again:")
console.writeline("You have " & attempt & " attempts left.")
console.writeline("Congratulations! The number was " & num1)
console.writeline("Sorry! You ran out of attempts. Try again!")