#include #include using namespace std; int main() { int i{0}; while (i < 15) { cout << setw(4) << i << setw(4) << i/7 << setw(4) << i% 7 << endl; ++i; //i = i + 1; } i = 0; while (i < 10) { cout << rand() % 20 + 1 << endl; i++; //i = i + 1; } return 0; }