He aqui un juego donde tiene que adivinar el numero.
Siempre da numero s distintos y simpre pistas distintas tambien.
Por diversion cambie el color de las letras a rojo.

Que lo Disfruten(el titulo en castellano significa adivina el numero.)
#include <stdio.h>
#include <stdlib.h>
#include <iostream.h>
#include <time.h>
int main()
{
int ganaste;
int intento;
int opcion;
int resultado;
int a;
int b;
int c;
int d;
int e;
system("title **Guess_The_Number por Apolo**");
system("color 0c");
for(d=1; d<=100; d++)
{
printf("CARGANDO\n");
printf("%i%%\n", d);
system("cls");
}
while(1==1)
{
ganaste=0;
srand(time(NULL));
a=(rand()%50);
srand(time(NULL));
b=(rand()%10);
srand(time(NULL));
c=(rand()%40);
srand(time(NULL));
e=(rand()%50);
system("cls");
cout << "\t\t\t**Guess_The_Number por Apolo**\n\t\t\t" << endl;
printf("\n[1]-Jugar\n");
printf("\n[2]-Salir\n\n");
scanf("%i", &opcion);
if(opcion==2)
{
system("cls");
printf("Hasta luego!");
system("pause > nul");
exit(0);
}
if(opcion==1)
{
system("cls");
printf("Tienes 5 oportunidades de adivinar el numero!\nMis pistas!\n\nEl numero esta entre %i y %i\n\nEl Numero Al cubo da %i\n\nEl numero Multiplicado por %i da %i\n\nEso es todo!\n\nA jugar!\n\nPresiona un boton para jugar!\n\n", a-b, a+b, a*a*a, c, a*c);
system("pause > nul");
for(intento=5; intento>=0; intento--)
{
printf("Pon el numero aqui:\t");
scanf("%i", &resultado);
if(!(resultado==a))
{
printf("Mal solo te quedan %i oportunidades!\n\nPresiona un boton para volver a intentarlo!\n", intento);
system("pause > nul");
}
if(resultado==a)
{
system("cls");
printf("Ganaste muy bien!!!!!\n\n");
printf("Toca cualquier tecla para volver al menu");
intento=-1;
ganaste=1;
}
if(intento==0)
{
system("cls");
printf("No te quedan mas intentos!\n\nToca ua tecla para ir al menu");
printf("EL numero era %i !!!", a);
system("pause > nul");
}
}
if(ganaste==1)
{
system("pause > nul");
}
}
}
}