Name: ____________________________________________________ Alpha: _____________________

Describe help received: _________________________________________________________________

2-dimensional arrays in C++ don't have to be of equal size. For example, the data in input.txt can be arranged as in the following image:

Write a program that takes in a filename of a file in that format, which then prints the average of each entry. You must create an array like the one pictured above.

taylor@kurt:~/zee/si204/class/class28$ ./a.out 
Enter a filename: input.txt
84
80
57.4
87

Turn in this sheet, along with a screenshot showing your program running on both input.txt and input2.txt, and a codeprint printout of your code.