Tips and Tricks

We read the input text s, null the sum and run a loop from 0 to s.Length-1 (text length -1). We check each letter s[i] and verify if it is a vowel, and accordingly, add its value to the sum.

Testing in the Judge System

Test your solution here: https://judge.softuni.bg/Contests/Practice/Index/510#8.

results matching ""

    No results matching ""