Skip to main content
Search
Search This Blog
Papgua
Pages
Home
Technoworld
Coding
Games
More…
Share
Get link
Facebook
X
Pinterest
Email
Other Apps
Labels
C++
Coding
March 06, 2015
Traversing an array..
#include<iostream.h>
#include<conio.h>
void main()
{
cout<<"Enter the values of array";
int a[10],i;
for(i=0;i<10;i++)
{
cin>>a[i];
}
//traversing
for(i=0;i<10;i++)
{
cout<<a[i];
}
getch();
}
Posted by lol ik
Comments
Popular Posts
September 09, 2017
Play Super Mega Ultra Battle Robot 2.0
July 25, 2017
A Certain Scientific Railgun
Comments
Post a Comment