#include #include using namespace std; const int DIE_SIDES {6}; int main() { string phrase; string strippedPhrase; int i; /* cout << "Enter a phrase "; getline(cin, phrase); i =0; while (i < phrase.size()) { if ( isalpha(phrase[i]) ) { //strippedPhrase = strippedPhrase + phrase[i]; strippedPhrase = phrase[i] + strippedPhrase; } i++; } cout << "The strpped phrase is " << strippedPhrase << endl; */ srand(time(nullptr)); for( i = 0; i < 10; i++) { cout << i << " " << rand() % DIE_SIDES + 1 << endl; } return 0; }