84.6k views
1 vote
Write a statement that defines an array of four integers named miles. The array should be initialized with the values 1, 5, 9, and 22.

1 Answer

4 votes

Answer:

int miles[4] = {1, 5, 9, 22};

Step-by-step explanation:

Given:

Initialized values = 1, 5, 9, and 22

Find:

Defines an array of four integers

Computation:

int miles[4] = {1, 5, 9, 22};

User Karthick Vinod
by
6.2k points