Question: I need one jar and one java file for this. It should calculate the first 1000 prime numbers as an array of longs. Then it
I need one jar and one java file for this.
It should calculate the first 1000 prime numbers as an array of longs.
Then it needs to write the array of longs to a file named Lab8Primetime, with each number on a separate line.
Then it should read from that file named Lab8Primetime.txt and display each line on the console of NetBeans.
This is the link to the Word doc with the code I have written so far. It has errors and will not run. Please help me get it running. I think I am close. Please help??? Anyone???
https://www.dropbox.com/scl/fi/ccv0pkqabkcl7tdshz3d0/Lab-8-Primetime.docx?dl=0&rlkey=lmwp273kd4uxqr6zwnddo73g7
Step by Step Solution
There are 3 Steps involved in it
Answer Heres the corrected version of your c... View full answer
Get step-by-step solutions from verified subject matter experts
