Respuesta :

The array to create a value that contains 5 numbers is: int a [] = new int[5];

What is an Array?

This refers to the collection of similar data elements that are stored in a particular memory location.

Hence, we can see that using a for loop to print out all the values of the array, separated by a comma is:

#include<iostream>

#include<iomanip>

using namespace std;

int main()

{

int arr[5];

for(int i=0;i<5;i++)

{

cin>>arr[i];

}

cout<<" your Entered number are:"<<endl;

for(int i=0;i<5;i++)

{

cout<<arr[i]<<endl;

}

}

Read more about arrays here:

https://brainly.com/question/940636

#SPJ1