AUC - input = = input.toLowerCase...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
import java.util.*; public class AUC { static Scanner console = new Scanner(; public static void main(String [] args) { String input; String[]aucArray ={"clark","morehouse", "spelman", "itc"}; boolean found =false; b System.out.println("Enter AUC full college name");
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: input =; //input = input.toLowerCase(); System.out.println(input); S for(int a =0; a< aucArray.length; a++) f if(input.equals(aucArray[a])) i found = true; f if(found) i System.out.println(input+" is a valid school. Found"); S } }...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online