CIT 120 - Computational Thinking
In QBasic, create a guessing game. You should have your program to generate a
random number from 1-100 (inclusive). Let the user guess a number from 1-100.
The program should let the user guess until they get the correct number. After
each input, the program should tell the user whether they guessed the correct
number, or if they should guess higher or guess lower. While the user is entering
guesses, the program should keep a count of the number of guesses that it takes
to get the correct number. After the user guesses the correct number, the
program should congratulate the user and tell them how many guesses it took
them to get the correct number.
Copyright © 2026 eLLeNow.com All Rights Reserved.