Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
219 B
2
Indexable
Never
#include <iostream>

using namespace std;

int main() {
	int mas[10000],N;
	cin >> N;
	for (int i = 0; i <= N; i++) {
		mas[i] = i * i;
	}
	for (int i = 0; i <= N; i++) {
		cout << mas[i]<<" ";
	}




}
Leave a Comment