public static void main(String[] args) throws FileNotFoundException {
	// write your code here


        //new Main();
        final Aguatic  a = new Aguatic(9.0, 3.0);
        final Tile stewie = new Tile();

        //
        ChoiceQuestion kay = new AnyCorrectChoiceQuestion(4);
        kay.setTxt("In which country was the inventor of Java born?");
        kay.addChoice();
        kay.saySomething();
        Scanner inlet = new Scanner(System.in);
        System.out.println("Please enter your choice here: ");
        System.out.println("Expected: "+ kay.getAnswer());

        System.out.println("Selected answer is "+ String.valueOf(kay.checkAns(inlet.nextLine())));
        //System.out.println("Expected: "+ kay.getAnswer());



        NumericQuestion nero = new NumericQuestion();
        nero.setTxt("Evaluate 1 / 3");
        nero.setAnswer("1.333");
        System.out.println(nero.getTxt());
        System.out.println("Answer: ");
        inlet = new Scanner(System.in);
        System.out.println("Selected answer is "+ String.valueOf(nero.checkAns(inlet.nextLine())));
        System.out.println("Expected:\n"+ nero.getAnswer());






        FillInQuestion trist = new FillInQuestion();
        trist.setTxt("The inventor of Java was");
        trist.setAnswer("James Gosling");
        System.out.println(trist.getTxt());
        System.out.println("Answer: ");
        inlet = new Scanner(System.in);

        System.out.println("Selected answer is "+ String.valueOf(trist.checkAns(inlet.nextLine())));
        System.out.println("Expected:\n"+ trist.getAnswer());



        Account aircraftcarrier;
        aircraftcarrier = new SavingsAccount(100);
        aircraftcarrier.deposit(823);
        aircraftcarrier.deposit(13);
        aircraftcarrier.deposit(242);
        aircraftcarrier.month_end(aircraftcarrier);

        CheckingAccount predator = new CheckingAccount(200);
        predator.withdrawal(50);
        predator.withdrawal(3);
        predator.withdrawal(73.32);
        predator.withdrawal(5);
        predator.deposit(200);
        predator.month_end(predator);
        System.out.println("toString()-> " + predator.toString());
        System.out.println(String.format("\n\n\n"));

        ChoiceQuestion terry = new ChoiceQuestion(4);
        terry.setTxt("In which country was the inventor of Java born?");
        terry.addChoice();
        terry.saySomething();
        Scanner checking = new Scanner(System.in);
        System.out.println("Please enter your choice here: ");
        System.out.println("Selected answer is "+ String.valueOf(terry.checkAns(checking.nextLine())));
        System.out.println("Expected: "+ terry.getAnswer());



        Fish nemo = new Fish();
        nemo.move();
        nemo.move();
        nemo.move();



        MenuClass aria = new MenuClass();
        aria.selectChoice();





        JavaRecursion selma = new JavaRecursion();
        int n = selma.getTriNumber(6);
        System.out.println("getTriNumber(6) " + n);
        System.out.println("selma.factorial(6) "+selma.factorial(6));


        final Main c = new Main(); //c.lever();// lever();
        Counter jackson = new Counter();
        jackson.increment();jackson.increment();jackson.increment();jackson.increment();
        System.out.println("Count is now: "+jackson.getMarker());
        String callhome = c.reverse_REC("HELLOWORLD");
        System.out.println(String.format("%s\n\n",callhome));

        reverse$d$();
        c.DogTrack(47);



        double[] isImport = c.decide();
        //c.tictactoe();

        for (int i = 0; i < isImport.length; i++) {
            System.out.println("decide is " + isImport[i]);

        }
        stewie.tile(12, 123);
        //stewie.tile(5, 100);

        //c.decide();

        //int run = c.firstDigit(19932);
        String []toolshed = c.frequencey(c.arrLab(8, 7.2, 8.5, 9.5, 7.2, 7.2, 7.2, 7.2, 7, 4, 10));
        System.out.println("frequency "+ toolshed[0]);
        System.out.println("frequented # "+ toolshed[1]);
        String []llama = {"Tom", "Dick", "Harry", "Ellen", "Sue", "Jane", "Jack", "Rose"};
        String names[] = c.change(llama);
        //System.out.println("names.length is " +names.length);

        System.out.println("\n"+Arrays.toString(names));
        System.out.println("score [" + c.score(arrLab(8, 7, 8.5, 9.5, 7, 4, 10))+"]");
        System.out.println(c.scramble("Worlding"));
        System.out.println(c.scramble("Worlding"));
        System.out.println(c.scramble("Worlding"));
        System.out.println(c.scramble("Worlding"));
        System.out.println(c.scramble("Worlding"));
        System.out.println(c.reader("Mary had a little lamb"));
        System.out.println(c.reader("I don't give a damn for a man that can only spell a word one way. Mark Twain"));
        System.out.println(c.reader("I don't give a damn for a man that can only spell a word one way. Mark Twain"));
        System.out.println(c.reader("I don't give a damn for a man that can only spell a word one way. Mark Twain"));
        System.out.println(c.reader("I don't give a damn for a man that can only spell a word one way. Mark Twain"));





        System.out.println("First digit is "+c.firstDigit(19932));
        System.out.println("First digit is "+c.firstDigit(784535));
        int fibonacci = c.fibonacci(13);
        //ArrayList<String> str = c.diamond(4);



        String[] lengths = c.diamond(9);
        System.out.println("fibonacci "+fibonacci);

        String re = c.reverse("Hello World");
        System.out.println(re);
        String maura[] =c.permuting("Harry");
        for (int i = 0; i < maura.length; i++) {
            System.out.println(i+". " + maura[i]);
        }

        String[] little = c.temper();
        System.out.printf("\nwarmest temp so far: %s\nwhen? %s\n\n", little[0], little[1]);

        String [][]rome = c.roman(1978);

        for (int i = 0; i < rome[7].length; i++) {
            if(!rome[7][i].isEmpty()){
                System.out.printf("%s", rome[7][i]);
            }
        }
        System.out.println();

        String []sortN = c.sort("numeric","entered", "value");
        System.out.println("sorted: ");
        for (int i = 0; i < sortN.length; i++) {
            System.out.println(sortN[i]);
        }

        String []$gradebook = c.translate(2.7);
        System.out.println("the numeric value entered: " + $gradebook[0]);
        System.out.println("letter grade is "+$gradebook[1]);

        String []gradebook = c.grades($gradebook[1]);
        System.out.println("letter grade entered: " + gradebook[0]);
        System.out.println("the numeric value is " + gradebook[1]);

        System.out.println("expected: increasing - " + c.order(1.0,2.0,3.0));
        System.out.println("expected: decreasing - " + c.order(3.0, 2.0, 1.0));
        System.out.println("expected: no order - " + c.order(2.0, 1.0, 3.0));

        System.out.println("output: " + c.number(0));
        double []accounting = c.tax_rate('M', 80000);
        System.out.printf("%.2f\n\n\n",accounting[0]);

        ArrayList<String> search = c.extract("public");
        System.out.println("middle " + search.get(0));

        int [] ledger = c.military(1730,900);
        System.out.println("Hour(s) "+ledger[1]);
        System.out.println("Minutes(s) "+ledger[2]);

        int []dates = c.$Easter_Sunday(2001);
        System.out.println("Month " + dates[0]);
        System.out.println("Day " + dates[1]);

        c.name();
        c.sodaPop();
        //c.dia();



        int []autonomous = c.vending_machine();
        int $d = autonomous[0];
        int $c = autonomous[1];

        System.out.printf("c.vending_machine()[0] $d is %d\n",$d);
        System.out.printf("c.vending_machine()[1] $c is %d\n\n",$c);


        System.out.printf("Width in millimeters from inches %9.2f\n", c.dimensional(8.5, 11.0)[0]);
        System.out.printf("Length in millimeters from inches %8.2f\n\n",c.dimensional(8.5, 11.0)[1]);



        System.out.println(c.invest());
        System.out.printf("%.2f\n", c.carrier_c(299));
        System.out.printf("%d\n", c.tally(10));
        System.out.println(c.box("James"));
        final String b = String.format("%.2f\n\t\t\t\t%s", a.chance(a), c.toString());
        System.out.print(b);
        double t = a.chance(a) + c.lever();
        //System.out.println("ephemeral << " + track);

        new Main() { //why use anonymous classing?
            {
                String alpha = b;
                System.out.println(alpha);
            }
        };


    }