Computer Science, asked by anushka45346, 7 months ago

write a java program to input a sentence and print the words which has even number of vowels.(using buffered reader only) scam or otjer answers will result in report.​

Answers

Answered by roshanidhami82
2

Answer:

In java, the string is a sequence of characters and char is a single digit used to store variables. The char uses 2 bytes in java. In java, BufferedReader and InputStreamReader are used to read the input given by the user from the keyboard. Then readLine() is used for reading a line. The java.io package in java provides input and output through data streams, serialization, and the file system.

We can count the vowels in a string in two ways:

  1. Iterative
  2. Recursive
Similar questions