Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java Please upload a screenshot with comments so i can learn from this, Thanks! [13 points] Question #2 [Submit Average java] Write a program that

Java

image text in transcribed

Please upload a screenshot with comments so i can learn from this, Thanks!

[13 points] Question #2 [Submit Average java] Write a program that prompts the user for a file name, reads the file which should contain two columns of floating-point numbers and finally prints the average of each column. Use try/catch/finally blocks. A sample input file is attached. Sample Run lease enter the file name : Input 1 e . txt Average of column 1: 126.35457142857142 Average of column 2: 103.63328571428573 InputFile.txt 232.12 392.12 28.21 21.1 0.0 12.3 45.23 15.56 566.122 258.153 5.5 12.1 7.3 14.1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases

Authors: Ian Robinson, Jim Webber, Emil Eifrem

1st Edition

1449356265, 978-1449356262

More Books

Students also viewed these Databases questions