public void doAction(String value) {
        char choice = value.toUpperCase().charAt(0);
       
        while (choice != 'A' && choice != 'B' && choice != 'C'&& choice != 'D'){
             System.out.println("Invalid selection");
             choice = getInput().toUpperCase().charAt(0);
        }
 
 
        if (choice == 'C'){
            System.out.println("Congratulations, that is the correct answer!");
        }
        
        else{
         System.out.println("Sorry, that is the wrong answer.");   
        }
     
    }