Question: SAP: ABAP The program reads a word/phrase and outputs the word/phrase and number of vowels it contains. The following letters are considered vowels: A, E,

SAP: ABAP

The program reads a word/phrase and outputs the word/phrase and number of vowels it contains. The following letters are considered vowels: A, E, I, O, and U.

Create a subroutine per the following:

Input: A single letter

Return:

V If the letter is a vowel.

C If the letter is NOT a vowel.

Note: Failure to use a subroutine per the above requirements will result in points deducted.

OUtput:

Word entered: STUDY HARD

Number of vowels: 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!