Vowel Counter
The Code
The code for the third class of Java is as follows:
package vowelcounter;
import java.util.Scanner;
public class VowelCounter {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
int x = 3;
String fullname = "";
Scanner y = new Scanner(System.in);
System.out.println("Type in your full-name ==>");
fullname = y.nextLine();
int o = fullname.length();
System.out.println(o);
System.out.println(fullname);
char i = fullname.charAt(0);
System.out.println(i);
for(int counter = 0; counter < counter; counter++) {
System.out.println(counter);
}
}
}