#include #include using namespace std; //Three arrays, each holding 5 elements. //The computer can count the number of elements in array a, //but you have to count the number of elements in arrays b and c, //and write this number in the [square brackets]. int main() { int a[] {10, 20, 30, 40, 50}; //born holding {10, 20, 30, 40, 50} int b[5] {}; //born holding {0, 0, 0, 0, 0} int c[5]; //born holding unpredictable garbage //Output the elements of array a, all on one line. for (auto i: a) { cout << i << " "; } cout << "\n"; //Output the elements of array b, all on one line. for (auto i: b) { cout << i << " "; } cout << "\n"; //Output the elements of array c, all on one line. for (auto i: c) { cout << i << " "; } cout << "\n"; return EXIT_SUCCESS; }