30.6k views
2 votes
Write three statements to print the first three elements of array runtimes. Follow each statement with a newline. For example, if runtimes = 800, 775, 790, 805, 808, print: 800 775 790

User Ncaralicea
by
8.1k points

1 Answer

0 votes

Final answer:

To print the first three elements of the array runtimes, you can follow these steps:

Step-by-step explanation:

  1. Print the value of the first element in the array runtimes followed by a newline.

  2. Print the value of the second element in the array runtimes followed by a newline.

  3. Print the value of the third element in the array runtimes followed by a newline.

User Thclpr
by
8.1k points