Hey, I read the FAQs, and as I will post what I have, I did try to do this code, but I am having some trouble with it. If someone could help, I'd be extremely grateful. I think I have majority of it done, but, I might be wrong. What I need to is here:

Write a program that determines which of 4 geographic regions within a major city (north, south,
east, and west) had the fewest reported traffic accidents last year. It should have the following
two functions, which are called by main.
The first function, getNumAccidents, is passed the name of a region. It asks the user for
the number of traffic accidents reported in that region during the last year and returns that
integer. It should be called once for each city region.
The second, findLowest, is passed the four accident totals. It determines which is the
smallest and prints the name of the region, along with its accident figure.

This is what I've done so far:
import javax.swing.JOptionPane;


public class douglassProgramFour {

public static void getNumAccidents(String[] locations)
{
int [] accidents=new int [4];

for(int counter=0;counter<accidents.length;counter++)
{
String input=JOptionPane.showInputDialog("How many accidents were in the " + (locations) + " district last year?");
accidents[counter]=Integer.parseInt(input);
System.out.println(accidents);

}

}

public static void findLowest(int accidents)
{
int lowest = 1000;

if(accidents < lowest)
{
lowest = accidents;
}
System.out.println(lowest);

}

public static void main(String[] args)
{
String [] locations={"East","South","North","West"};
getNumAccidents(locations);
findLowest(0);

}

}

Again, if I can get any help, I'd be very thankful.