#include <iostream>
using namespace std;

int main() {

  // THe FOLLOWING TWO LOOPS ARE EQUIVALENT:

  // unsigned int x = 1;
  // while(x <= 100){
  //   cout << x << endl;
  //   x++;
  // }

  // for(int x=1;x<=100;x++){
  //   cout << x << endl;
  // }


  // THE NEXT TWO LOOPS ARE ALSO EQUIVALENT:

  // unsigned x,y;
  // x = 0;
  // while(x<10){
  //   y = 1;
  //   while(y<=10){
  //     cout << "x: " << x << ", y: " << y << endl;
  //     cout << x+y << endl;
  //     y++;
  //   }
  //   x+=2;
  // }

  for(int row=0; row<10; row+=2){
    for(int column=1; column<=10; column++){
      cout << "row: " << row << ", column: " << column << endl;
      cout << x+y << endl;
      //sometimes the variables can impact each other:
      // y+=x;
    }
  }

  return 0;
}