Which provides input and output stream functionality
Solved Step By Step with Explanation – Print First Three Elements
Question
Solved Step By Step with Explanation –Print First Three Elements
using namespace std;
int main() {
cin >> runTimes[i];
}
```
These statements will print the first three elements of the `runTimes` array separated by spaces and followed by a newline.
using namespace std;
```
const int NUM_ELEMENTS = 5;
int runTimes[NUM_ELEMENTS];
```
for (i = 0; i < NUM_ELEMENTS; ++i) {
Step 4: Print the first three elements of the array
```
```
return 0;


