#include<iostream>
using namespace std;
void main()
{
int aray[5]={1,2,3,4,5};
cout<<"Array elements are \n"
<<aray[0]<<"\n" <<aray[1]<<"\n" <<aray[2]<<"\n"
<<aray[3]<<"\n"
<<aray[4]<<endl;
system("pause");
}
|
#include<iostream>
using namespace std;
void main()
{
int aray[5]={1,2,3,4,5};
cout<<"Array elements are \n"
<<aray[0]<<"\n" <<aray[1]<<"\n" <<aray[2]<<"\n"
<<aray[3]<<"\n"
<<aray[4]<<endl;
system("pause");
}
|
0 comments:
Post a Comment