Need some help

Hello, im new to c++ and i want to know how to slow program down? I want to slow it down for couple of seconds. Any help is welcome :)

#include<iostream>
#include<math.h>
#include<stdlib.h>
#include<time.h>
using namespace std;
int main()
{
int x=0, h=0, a=0,shoot;
srand(time(0));
do
{
cout<<"Min "<<x<<"' HOME "<<h<<" : "<<a<<" AWAY"<<endl;
shoot=rand()%50+1;
if(shoot==17)
{
h=h+1;
}
if(shoot==33)
{
a=a+1;
}
x++;

}
while(x<=90);

cout<<"FT "<<"HOME "<<h<<" : "<<a<<" AWAY"<<endl;
return 0;
}
Topic archived. No new replies allowed.