hey guys. i have a very simple programming assignment. i have a little experience in c++ but the code that im using is not working. the assignment is to use an array to enter 10 numbers and then print them out in reverse order. the following code that i am using is
#include<iostream>
using namespace std;
main()
{
int i, num[10];
for(i=0;i<10;i++)
{
cin>>num;
}
for(i=0;i<10;i--)
{
cout<<num<<" ";
}
system("PAUSE");
}
the for loop works for the cin statement but is not working for the cout. if anyone has answers pls help.
thanks