using namespace std;
int main() {int N, X;cout << "Enter the size of the array: ";cin >> N;int A[N];
}
using namespace std;
int main() {
cout << "Enter the first element: ";int N, X;
cout << "Enter the size of the array: ";
cin >> N;
int A[N];
cin >> X;
// Fill the array
A[0] = X;
for(int i = 1; i < N; i++) {
A[i] = A[i-1] + 5;
}
// Print the array
cout << "Array filled with natural numbers: ";
for(int i = 0; i < N; i++) {
cout << A[i] << " ";
}
return 0;
}