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