Vowels' Strength

0

0 votes
Easy
Problem

You have to print the sum of ASCII number of all the vowels in a given string.
Input will contain a string.
The output will contain the sum of ASCII numbers of all the vowels present in the string.
Note:-Design your algorithm in such a way that uppercase vowels should be considered as lowercase vowels while calculating the sum.

Time Limit: 5
Memory Limit: 256
Source Limit:
Explanation

Example 1:-
Input:-hELLO
Output:-212


Example 2:-
Input:-PYThon is aweSOME
Output:-626


Example 3:-
Input:-WHY, TRY SHY FLY RHYTHMS SLYLY.
Output:-0


Editor Image

?