Hello! I need help with the first problem, here are the requirements! **** This is my 3rd time posting this and the person who answered copy and pasted another questions answer. If I could have help...



Hello! I need help with the first problem, here are the requirements!



**** This is my 3rd time posting this and the person who answered copy and pasted another questions answer. If I could have help on the exact question I asked I would really appreciate it. Thank you!!



Please use Eclipse if possible! and showing a screenshot of the output would also be helpful. Also comments displaying what the code is doing is also very helpful so I understand it. Thank you so much!!!



Assignment Requirements



  • Create a new Java Project in your Eclipse workspace named as before,smith3 orjones3 for example.

  • Create a package with the very same name as your project name.

  • In this one package, write one Java program for each exercise as required below.

  • Choose descriptive variable names and identifiers in all programs



Exercise 2

Write a program that generates 10 random doubles, all between 1 and 11, and writes them to a text file, one number per line. Then write another program that reads the text file and displays all the doubles and their sum accurate to two decimal places.

SAMPLE OUTPUT


10.6269119604172
2.737790338909455
5.427925738865128
1.3742058065472509
1.1858700262498836
4.180391276485228
4.910969998930675
5.710858234343958
7.790857007373052
3.1806714736219543


The total is 47.13



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here