Write a program that reads a word and prints the number of


Problem

1. Write a program that reads a word and prints the number of vowels in the word. For this exercise, assume that a e i o u y are vowels. For example, if the user provides the input "Harry", the program prints 2 vowels.

2. Write a program that reads a word and prints the number of syllables in the word. For this exercise, assume that syllables are determined as follows: Each sequence of adjacent vowels a e i o u y, except for the last e in a word, is a syllable. However, if that algorithm yields a count of 0, change it to 1.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a program that reads a word and prints the number of
Reference No:- TGS02628142

Expected delivery within 24 Hours