x = [7, 12,65,43]
x[2] = 28
print(x)
Объяснение:
#include <bits/stdc++.h>
using namespace std;
int main()
{
int a[4] = {7, 12, 65,43};
a[2] = 28;
for (int i = 0; i < 4; ++i)
cout<<a[i]<<" ";
}
x = [7, 12,65,43]
x[2] = 28
print(x)
Объяснение:
#include <bits/stdc++.h>
using namespace std;
int main()
{
int a[4] = {7, 12, 65,43};
a[2] = 28;
for (int i = 0; i < 4; ++i)
{
cout<<a[i]<<" ";
}
}