This is a basic number guess game program using C Programming. This is created simply using printf, scanf functions & do-while loop. stdio.h,stdlib.h,time.h libraries are uses in it. You can compile the code & run. You can play it with your friend, there will be two player, first player will try to guess the number , once the program finished we'll write the no. of attempts by first player, then second player will try , after that they will compare their attempts, which one guessed in less attempts will won the game.