ممكن مساعده في هذا البرنامج ؟ ( جافا )

السلام عليكم
انا في الجامعه وعندي تمرين احتاج احله
وبصراحه صعب وحليت قسم جيد من البرنامج
بس لقيت خطأ واحد في البرنامج وقسم من البرنامج ما قدرت احله فاحتاج مساعدتكم
الله يخليكم
هذا هو البرنامج

/**
 * @(#)rainfall.java
 * Mohammed Al-Emadi 
    ID: 200578553
 * 2008/11/1
 * Rainfall- Assignment 7
 */
 
import java.util.*;
public class rain {
 
  
public static int year;
public static float avarage;
public static int y;
public static int c; 

    // main 
  public static void main ( String [] args ) {
        Scanner input  = new Scanner(System.in);
String choice;
String[] months = {"January","February","March","April","May","June","July","August","September","October","November","December"};
int[] years  = new int[y];
int[] cities = new int[c];
 
 while (true) {
     System.out.print("(s) Search for a record; (d) Delete a record; (a) Add a record; (q) Quit; ");
     choice = input.next();
     
if (choice.equals("a")) 
{
// =========================================================
System.out.println("Enter the number of years you want : ");
y = input.nextInt();
System.out.println("Enter the number of cities you want : ");
c = input.nextInt();
 
for(int t=0; t<cities.length; t++){
System.out.println("Enter the name of the city : ");
String city=input.next();

    for(int i=0; i<years.length; i++){
 
     System.out.println("Enter the year.");
     year = input.nextInt();
  
       for(int b=0; b<months.length; b++){
 System.out.println("Enter the avarage of rain in " + months);
 months[b]= input.nextFloat();
    }}} }
//========================================================= 
 
//=========================================================
if (choice.equals("s"))
{
}
//=========================================================
 
//=========================================================
if (choice.equals("d"))
{
}
//=========================================================
 
//=========================================================
if (choice.equals("q"))
{
 System.exit(0);
}
//=========================================================
 }
    }
}

والبرنامج قصته انه يسجل معلومات عن هطول الامطار في عدة مدن لكل شهر من السنه
وفي البدايه المستخدم يختار ( حذف المعطيات لشهر . اضافة معلومات لكل شهر من السنه . بحث عن المعطيات لشهر يختاره المستخدم . الخروج من البرنامج )
انا اللي قدرت اسويه اضافة معطيات … بس فيه خطأ وان شاء الله تقدرون تعدلونه لي
جربت اني احذف جزء من البرنامج بس للتأكد انه شغال
بس قام يوقف على نقطه معينه ويخلص البرنامج وهو المفروض انه يكمل وياخذ
اسم المدينه + السنه
القسم اللي فيه الخطأ وجربت احذفه هو

      for(int b=0; b<months.length; b++){
 System.out.println("Enter the avarage of rain in " + months);
 months[b]= input.nextFloat();
    }}} 

و في باقي المتطلبات … جزء البحث والحذف بصراحه ما عرفتلهم فممكن الحل الله يخليكم
وشكرا ويعطيكم الف عافيه والسموحه على الاطاله