------------------------------------------------------------------------- Note:- This game is tested on on CodeBlocks IDE and DevC++ IDE on Windows OS. To run this game , use of CodeBlocks IDE or DevC++ IDE (on Windows OS) is recommended. Using other IDE might generate errors. (Windows OS is necessary, running Game on other OS might not work) -------------------------------------------------------------------------- #include <stdio.h> #include <stdlib.h> #include <time.h> int main(void) { srand(time(NULL)); int r = rand() % 10 + 1; int correct = 0; int guess; int counter = 0; printf("Guess my number! "); do { scanf("%d", &guess); if (guess == r) { ...
This is my official blog. In this blog I usually post my youtube related content..but sometimes random things can be posted....Thank you for visiting my blog.Hope you enjoy my contents and might be helpfull to you as well