0
array
fell in the blank declare an array of integers contaning 9 element .A assign to each element the value 45 using the for loop int anArray[]; for(int x;x<= ;x++){ anArray[]=45; }
3 Respuestas
+ 3
#include <iostream>
using namespace std;
int main() {
int array[9];
for (int i = 0; i <= 8; i++) {
array[i] = 45;
std::cout << array[i] << std::endl;
}
return 0;
}
0
I do not have the answer
0
anArray[9];
for (int x = 0; x < 9; x++){
anArray[x]=45;
}