Arrays are 0-based.Quote:
Code:for (j=1; j <= numEntered; j++){
cout << "Please enter value ";
cin >> A[j];
}
Printable View
Arrays are 0-based.Quote:
Code:for (j=1; j <= numEntered; j++){
cout << "Please enter value ";
cin >> A[j];
}
Should you?
Trace the code on paper.
walkonwater-
i have a very similair problem I am working on. would you mind contacting me and emailing me your completed source code so i can view the header files?