To correct my program. please, check to find errors and correct me.  
Author Message
joon_96





PostPosted: 2003-7-8 11:42:00 Top

java-programmer, To correct my program. please, check to find errors and correct me. import. Java.io.*;
import. Java.text.NumberFormat;

public class commander

public. static.void man(String[]args)throws IOException

BufferedReader in =
new BufferedReader(New InputStreamReader(Systemin));

int (commander);

System.out.println("Enter your code");
code = integer.parseint(in.readLine());

switch(commander)
{

case 1:
System.out.println("The status of president of United States);
break;
case 2:
System.out.println("The status of secretary of Defense);
break;
case 3:
System.out.println("The status of the Air force);
break;
case 4:
System.out.println("The status of Air force chief staff);
break;
case 5:
System.out.println("The status of Air university commander);
break;
case 6:
System.out.println("The status of Air commader);
break;

default:
System.out.println(" The status of commander is children");
-------------------------------------------------------------------------------
please correct me.
this is switch statement to make program.