/**
 * CS152 Lab 4 -- Welcome to Methods.
 *
 * Implement the methods described below with TODO comments
 *
 * Student name: YOUR NAME GOES HERE.
 */
public class MethodPractice {


    // TODO: implement maxOfThree as described in PDF

    // TODO: implement isVowel as described in PDF

    // TODO: implement indexOfLastVowel as described in PDF

    /**
     * Flip character's case between upper and lower.
     * If lowercase, return uppercase equivalent.
     * If uppercase, return lowercase equivalent.
     * If not a letter, return unchanged.
     *
     * Note that this is an overloaded method
     *
     * @param c Character to process
     * @return Character with case switched.
     */
     public static char toggleCase(char c) {
         // TODO: REPLACE THE METHOD BODY

         // Returning a value to make it compile
         return '\b';
     }

    /**
     * Return a string with each lowercase letter
     * converted to uppercase, each uppercase letter
     * switched to lowercase, and each non-letter
     * character left unchanged
     *
     * Note that this is an overloaded method
     *
     * @param s The string to process
     * @return New string with upper and lower case switched.
     */
    public static String toggleCase(String s) {

        // TODO: REPLACE THE METHOD BODY

        // Have to return something here to make the file compile
        return "this string is junk";
    }


    /**
     * Average the length of up to five vowelless strings.
     * Any strings containing vowels are not included in this calculation.
     * @param a First string
     * @param b Second string
     * @param c Third string
     * @param d Fourth string
     * @param e Fifth string
     * @return Average length of the vowelless input strings.
     *         If all have vowels, returns -1111
     */
    public static double averageVowelless(String a, String b, String c,
                                          String d, String e) {
        // TODO: REPLACE THE METHOD BODY

        // This is an obviously wrong return value
        // that exists only to allow the file to compile
        return -4.2;
    }

    
    // TODO: implement getTotalBill as described in PDF

    // TODO: implement solveQuadratic as described in PDF
}
