Write code to fill this array with 10 numbers typed in at the keyboard.

Your program creates a dynamically allocated array as follows:
```
int *entry;
entry = new int[10];
```

so that the pointer variable entry is pointing to the dynamically allocated array.

```
#include using namespace std; int main() { int *entry; entry = new int[10];
cout << "Enter 10 integers:\n"; for(int i = 0; i < 10; i++) cin >> entry[i]; for(int i = 0; i < 10; i++)
cout << entry[i] << " ";
cout << endl;
return 0;
}
```

Computer Science & Information Technology

You might also like to view...

Match the following Table Analyzer Wizard screens to their description:

I. Create Primary Keys II. Review Grouping III. Create a Query IV. Solving the Problem V. Select Table A. How Access may split the table B. Bold fields C. What you want to analyze D. Where you create new tables E. Resembles your old table

Computer Science & Information Technology

Forensic investigators establish generally accepted policies and procedures to ensure that

A) They can bill at the correct rate B) All cases will go to trial C) Technical procedures are well documented D) Both B and C

Computer Science & Information Technology