Ответ:
#include <iostream>
using namespace std;
int main(){
int a=1,b=1,c,n;
cin >> n;
for(int i=0; i<n; i++){
c = a*b;
cout << c << " ";
a+=1;
b+=2;
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
#include <iostream>
using namespace std;
int main(){
int a=1,b=1,c,n;
cin >> n;
for(int i=0; i<n; i++){
c = a*b;
cout << c << " ";
a+=1;
b+=2;
}
}