Write a program segment that displays the contents of the arrays of Exercise 36 on 25 lines,

Question:

Write a program segment that displays the contents of the arrays of Exercise 36 on 25 lines, each containing three test scores.


Assume that a file named "test" has 25 records of the following form:

score_1 (Integer), score_2 (Integer), score_3 (Integer)

Suppose we want to load the test file records into arrays Score1, Score2, and Score3.


Data from Exercise 36

Write a program segment that loads the "test" file into the arrays.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Prelude To Programming

ISBN: 9780133741636

6th Edition

Authors: Stewart Venit, Elizabeth Drake

Question Posted: