LAB5_41
#include <iostream>
using namespace std;
int main() {
int a[1000000] ;
cout << "Введите число n..." << endl ;
int n , x = 1 ;
cin >> n ;
for (size_t i = 2 ; i <= 2*n; i+=2){
a[i] = i ;
cout << x << " - " << a[i] << endl ;
x++;
}
return 0;
}INFO