Question: JAVA - Please read the instructions in the image. All I know is each new line has a header value telling you how many numbers
ab 1.2 (Lab 9-5 in the 1115 labs)--Calculating Averages (Averages) The file nambers text conisits of sequences of numbers, each sequence preceded by a header valee nd then followed by that many integers Read in the sequences and print their averages When all sequences have been read m, print oute number of sequences processed ample Test Ra For example if the file nusbers,text. contains 12 1440 the program should produce the following outpu The averege of the 5 ietegers 12 24 6 60 17.2 The avexage of the 1 lategers 17 18 37. the average of the 2 inceger 90 80 n 95. .Ths data in this example as of a somewhat move coeoples structuce-both oof and heades value processing is requited (the formier so determine when theve are no more sequences, and the latter to process each sequence)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
