// 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]<<" ";
}
}
0 comments:
Post a Comment