Ask Question

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. 6 February, 01:55
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers