#include #include #include using namespace std; int main() { string noun[]={"I", "you", "he", "she"}; string verb[]={"ran","walked","swam","drove"}; string noun2[]={"the store","school","work","home"}; srand((unsigned)time(0)); int n1,v,n2; for(int i=1;i<=5;i++) { n1 = (rand()%4); v = (rand()%4); n2 = (rand()%4); cout << noun[n1] << " " << verb[v] << " to" << " " << noun2[n2] << endl; } }