Answer:
the middle one would make the most sense if not than it is the 3rd
Explanation:
Answer: Hi im Sergeant von im here to help you in any way ma'm;)
I would think it would be the last one ( A SCANNER ) i hope this maybe the right answer if not im sorry at least i gave it a shot
Explanation:
The last one " a scanner " is the one i would choose ma'm it seems logic the the Question and seems too fit in with the rest ;)
Have a good day ma'm
import java.util.Scanner;
public class JavaApplication66 {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.println("Enter String:");
String vowels = "aeiou";
String text = scan.nextLine();
text = text.toLowerCase();
String newText = "";
for (int i = 0; i < text.length(); i++){
char c = text.charAt(i);
if (vowels.indexOf(c) == -1){
newText += c;
}
}
System.out.println(newText);
}
}
This works for me. Best of luck.