C++ Program of Filling and Printing an Array

C++ Program of Filling and Printing an Array : Hi,Today we make program About Array Using Functions C++.You Can Make More Simple With your Mind.Now Try To make it.

C++ Program of Filling and Printing an Array

#include<iostream>
#include<conio.h>
using namespace std;
const int n=9;
int GA[n];
void fillarray(void){
const int n=9;
int A[n];

int i=0;
while(i<=9){

cout<<"value of element"<<i<<"?"<<endl;
cin>>A[i];

GA[i]=A[i];
i++;

}

}
void displayarray(void){

for(int i=0;i<=9;i++){
cout<<GA[i]<<endl;
}
}

int main()
{
fillarray();
displayarray();
getch();

}

C++ Program of Filling and Printing an Array Output of Program

How To Fill and Display Array Using Functions C++
How To Fill and Display Array Using Functions C++

Hope you like And Make C++ Program of Filling and Printing an Array .if you need any help about this program kindly Contact us.Thank You.