#include <iostream>
#include <cstdlib>
#include <ctime>

using namespace std;

int main()
{
	srand(time(0));  // seed random number generator. do this a t least once!
	
	cout << "Some random number: " << rand() << endl;  // a random number from 0..RAND_MAX
	
	int diceroll;
	diceroll = rand()%6+1;  // A random number from 1..6
	
	cout << "You rolled: " << diceroll << endl;
	
	string s;
	cin >> s;
	
	return 0;
}
