// This program with "flip a coin" numerous times and report
// the number of heads and tails.
#include <iostream>
#include <cstdlib>
using namespace std;
const int AMOUNT = 100;
int main()
{
int i;
int result;
// print out the number of random value that will be listed
cout << AMOUNT << endl;
for ( i = 0 ; i < AMOUNT ; i++ )
{
result = rand() % 10000;
cout << result << endl;
}
}