import java.io.*;
public class binMain {
/**
* @param args
*/
public static void main(String[] args) throws IOException{
// TODO Auto-generated method stub
BufferedReader keyboard = new BufferedReader (new InputStreamReader (System.in));
double input = 0;
char choice = ' ';
while(choice!='Q' && choice!= 'q')
{ //start of while
System.out.println("He110!! Ready make a conversion?!?");
System.out.println("Make a selection!!!!!!!");
System.out.println("a - Input the number you want to convert.");
System.out.println("b - Convert from Binary to Decimal");
System.out.println("c - Convert from Decimal to Binary");
System.out.println("q - quit!!!!!!!no wai--");
choice = keyboard.readLine().charAt(0);
switch(choice)
{//start of switch
case'A':
case'a':
{
}
break;
case'B':
case'b':
{
}
break;
case'C':
case'c':
{
}
break;
case'Q':
case'q':
{System.out.println("Thanks converting!!
break;
}//end of switch
}//end of while
}
---------------------------------------------------------------
i know i have to use an array and i'm lost on the math. Any help would be greatly appreciated. Thanks


