By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,194 Members | 817 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,194 IT Pros & Developers. It's quick & easy.

array help

P: 5
can someone help with this please
I'm trying to ask a user to input 10 numbers and store the numbers into an array

what I have is

cout< "Please Enter the number";
cin << Array[];

and i believe I will need a lookp as well

some help would be awesome
Oct 4 '06 #1
Share this Question
Share on Google+
2 Replies

P: 30
#include <iostream.h>
#include <conio.h>

void main()

int A[10];

cout <<"Enter Numbers";

for (int i=0;i<10;i++)

for (i=0;i?<10;i++)
cout<<a[i]<<' ';



does it solveing ur problem?
Oct 4 '06 #2

P: 5
thats great, much appreciated
Oct 4 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.