How to Count Vowels in COBOL - Code Snippet

How to perform 'Count Vowels' in COBOL.

example.cbl
* Task: Count Vowels
* Language: COBOL

PROCEDURE DIVISION. count_vowels() 
    * Implementation for Count Vowels
    * TODO: Implement core logic here
    * Step 1: Prepare data
    * Step 2: Process Count Vowels
    DISPLAY("Done");
STOP RUN.
AdSense Slot