Subscribe For Free Updates!

We'll not spam mate! We promise.

Sunday 26 August 2012

C++ code to displaying ten 10 numbers by putting in array


// Displaying ten 10 numbers by putting in array
// Programmer name: Sohail ahmed
// Dated: 19/05/2010

#include<iostream.h>
#include<conio.h>

void num(int [9]);

int main()
{
int array[9];
for(int count=0; count<=9; count++)
{
cout<<"\nEnter any number: ";
cin>>array[count];
}
num(array);
getch();
return 0;
}
void num(int num_1[9])
{
for(int array=0; array<=9; array++)
{
cout<<num_1[array]<<" ";
}
}

Socializer Widget By CodingLovers
SOCIALIZE IT →
FOLLOW US →
SHARE IT →

0 comments:

Post a Comment