| 2 | using namespace std; |
| 3 | |
| 4 | int main() |
| 5 | { |
| 6 | int a[10]; |
| 7 | // code for the input the elements of the array |
| 8 | cout << "Input an Array Elements. " << endl; |
| 9 | for (int i = 0; i < 10; i++) |
| 10 | { |
| 11 | cout << "array element [ " << i << " ] "; |
| 12 | cin >> a[i]; |
| 13 | } |
| 14 | cout << endl; |
| 15 | // output tje arrays |
| 16 | cout << "Displaying arrays: " << endl; |
| 17 | for (int i = 0; i < 5; i++) |
| 18 | { |
| 19 | cout << "a[ " << i << " ] = " << a[i] << endl; |
| 20 | } |
| 21 | |
| 22 | system("pause"); |
| 23 | return 0; |
| 24 | } |
nothing calls this directly
no outgoing calls
no test coverage detected