Question: IN JAVA: My program will not run and I do not know what is wrong, please HELP. The las two images are the instructions on

IN JAVA: My program will not run and I do not know what is wrong, please HELP. The las two images are the instructions on the assignment.

IN JAVA: My program will not run and I do not knowwhat is wrong, please HELP. The las two images are the instructionson the assignment. File Edit Scurce Refatr Navigate Search Preject Rur WinduwHelp Quick Access : E | [2 Package Explorer Navigator 1 importiava.util.; import java.in.*; , acidents classpath &project Hw4-Trathic Accidents 5 public classarridrnts [ public statie void main(Stringl args) throws FileNottoundkxception bin classpati projerte Lab1-Calculation Lab1-Helloworld Scanner scan = new scanner(new ile(args[B1)); int counter -9;

File Edit Scurce Refatr Navigate Search Preject Rur Winduw Help Quick Access : E | [2 Package Explorer Navigator 1 import iava.util.; import java.in.*; , acidents classpath &project Hw4-Trathic Accidents 5 public class arridrnts [ public statie void main(Stringl args) throws FileNottoundkxception bin classpati projert e Lab1-Calculation Lab1-Helloworld Scanner scan = new scanner(new ile(args[B1)); int counter -9; /keep track of ho may integers in the file whilo(sran.hasrxtTnt)) 13 14 15 16 17 13 Lat:1-Pattern e Labs-Math Method & lpe Conversions couriter++ Lab5-Basic Decisicn Making sran.nrxtTnt); 21 Lab8 while Loop settings Sceriier scan new Scanner(new Tile(args[e])); int hours,vrhicls,fatal hours=counter/3; vehicles-counter3 fatal-unterf3; int h[] = new int[hours! ; int w[]-new int[vehicles); int fI- naw int[fatals]; , bin 06 FactonalCalculatorjav eneScanner.java classpati projert 30 31 lest settings n circieAreaCalculatorjava 36 Initialstxtractor,lava D NaieParser.java problems Javadoc Dedaraton Consolers terminated>ccidents Java Applicationj CusersKodnDocuments.lawa,binyavaw exe tMer 1. 2018. 1 14353 PM) NumberFunjava intable Smart Insert 8:9 11:44 PM O Type here to search 1/2018

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!