Untitled
Anonymous
c_cpp
12/13/2023 1:07 PM
240 B
19
Indexable
#include <iostream>
#include <algorithm>
int main()
{
int n{};
std::cin >> n;
for (int i = 1; i < n + 1; i++) {
std::cout << i * i << " ";
}
}Editor is loading...
Leave a Comment