Respuesta :

belali

Hello, algorithm in C++ language of this problem has given below. If any question(s) then feel free to ask in comments!

Good luck!

#include <bits/stdc++.h>

int main(int argc, char* argv[]) {

   for(int i=1;i<=7;i++) {

       int x=2;

       while(x!=2*i) {

           std::cout << x << " ";

           x+=2;

       }

       std::cout << std::endl;

   }

   return 0;

}