Help me Please... import java.io.*; import - TopicsExpress



          

Help me Please... import java.io.*; import java.util.*; public class DominisacProject{ public static int choice, listLength; public static String lee; public static LinkedList list = new LinkedList(); public static void main(String[] args)throws IOException{ BufferedReader dominisac = new BufferedReader (new InputStreamReader (System.in)); do{ try{ System.out.println([1] Magic Square); System.out.println([2] Display Name); System.out.println([3] HashTable); System.out.println([4] QuickSort); choice = Integer.parseInt(dominisac.readLine()); switch(choice){ case 1:System.out.println(Enter Number:); int N =Integer.parseInt(dominisac.readLine()); int [][] square; { if ((N & 1) == 0) { System.out.println(Error: N is even. ); System.exit (0); } square = new int [N][]; for (int i =0; i < N; i++){ square [i] = new int[N]; } square [0] [(N - 1) / 2] = 1; int key = 2, i = 0, j = (N - 1) / 2; while (key
Posted on: Tue, 18 Mar 2014 14:01:41 +0000

Trending Topics



LESS TAX PAID = STRICTLY SMALL FAMILY I need

Recently Viewed Topics




© 2015