This is my first script in C it makes a litle game I like to call gess th number.
this script is basic and all you need to compile and play but try to mod it to your own likes.
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
int main (int argc, char ** argv)
{
int mysterieNumber = 0 , numberEntered = 0;
const int MAX = 100 , MIN = 1;
srand (time (NULL));
mysterieNumber = (srand) % (MAX – MIN + 1 )) +MIN;
do
{
printf (”what is the mysrterieNumber?”);
scanf (”%d”, numberEntered);
if (mysterieNumber > numberEntered)
printf (”it’s more!”nn”);
else if (mysterieNumber < numberEntered)
printf (”its less”nn);
else
printf (”well done you have found the mystery number!”nn)
}while (numberEntered != mysteryNumber);
}











Looks like a good code.
thanks m8 pleas feel free to edit it and post on your sucses