Question: Part I: (150 points) Utilizing an array or vector and loops, write a class that accept 20 numbers from a file called number.txt (you have

Part I: (150 points)

Utilizing an array or vector and loops, write a class that accept 20 numbers from a file called number.txt (you have to create this file in notepad and numbers can range from -100 to 100) and outputs the following:

- the sorted numbers in ascending order

- the product of the numbers (Multiplication)

- the minimum value inputted

- the maximum value inputted

Test your program in main and submit the pertaining files based on your rubrics.

Failure to write a "class" will result in a grade of zero. Do not write your whole program in main. Submit your .java file/s as well as the number.txt file with the screen shot of the output

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!