+ 2

Can someone evaluate my work. Thanks! :)

Link: https://code.sololearn.com/cr6NBlJf3oLX/#cpp The purpose of this code is to: Evaluate the number of Vowels/Consonants in 10 Max letter word. Use only if-else-statement. While-for loop and any kind of looping are not allowed. Imagination is your limit. Please leave a comment or suggestion to minimize the work in coding. P.S. This is an exam in our school P.S. I'm Newbie at C++

5th Nov 2018, 9:23 PM
Cedrick Medina
Cedrick Medina - avatar
1 Resposta
+ 4
I woud define a function for get consonants "getConsonantsCount" and call it in recursive way then, i would get vowels simple by subtract strlen(input)- getConsonantsCount(input, 0) Just for be different 😁
5th Nov 2018, 9:44 PM
KrOW
KrOW - avatar