Question: // Program takes 5 numbers from a user (from console), stores them into an // array, and then prints them to the screen (on the

// Program takes 5 numbers from a user (from console), stores them into an // array, and then prints them to the screen (on the same line). // Add code to complete this program. You only need to add code where indicated // by "ADD HERE". #include  using namespace std; int main() { const int SIZE = 5; // size of array // ADD HERE - create an array of integers that will hold 5 integers. cout << "please enter 5 integers : " << endl; // For loop takes 5 integers from user and stores them in the array for (int i = 0 ; i < SIZE ; i++) { // ADD HERE - take user's input and store it in the array you created } // ADD HERE - Write a for loop to print the array to the screen return 0; } 

// Please how it works

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!