https://www.exampleprogram.com/2020/07/GuessNumberCGameProgram.html
How to Write a C Program for Guess the Number Game