Can someone tell me what is worng with this code?it comes upwith a number but dosent come up with different numbers
Im using Dev C++4.0 in windows Thanks
#include<iostream>
#include<stdlib.h>
#include<time.h>
#include<conio.c>
void main(){
int loop,myRandom;
//randomize
myRandom=rand()%80;
cout<<"Random Number"<<myRandom<<endl;
for(loop=0;loop<100;loop++){
gotoxy(myRandom,rand()%22);
cout<<"";
}
char myQuit;
cin>>myQuit;
}