Ask Question
22 January, 18:26

Write three statements to print the first three elements of array runTimes. Follow each statement with a newline. Ex: If runTime

+3
Answers (1)
  1. 22 January, 18:40
    0
    Statements to print the first three elements of array runTimes are as following:-

    cout<
    cout<
    cout<
    Explanation:

    These three statements written in C+ + language. Since we know the indexing of the array starts with the number 0. So the first element will be at index 0 and then indexing increasing by one for next element.

    So first element will be present at index 0 second will be present at index 1 and third will be present at index 2.

    So we can directly print the array elements by their indexes and after each using a new line character endl to go to the next line.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write three statements to print the first three elements of array runTimes. Follow each statement with a newline. Ex: If runTime ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers