Computer Science, asked by sherinshahana84383, 7 months ago

write c++program to input values in to an array of size 10 and print​

Answers

Answered by robot9447
1

Answer:

#include<iostream>

using namespace std;

int main()

{

int i,blue[10];

cout<<" \n enter the values";//entering values in array blue[]

for(i=0; i<10; i++) {

cin>>blue[i];

}

cout<<"The numbers are :";//printing the array values

for(int n=0; n<10; n++)

{

cout<<blue[n];

}

return 0;

}

Similar questions