Anonymous user
Talk:Count how many vowels and consonants occur in a string: Difference between revisions
Talk:Count how many vowels and consonants occur in a string (view source)
Revision as of 14:06, 26 July 2021
, 2 years agoadded some suggestions.
(Commented on Ring results.) |
(added some suggestions.) |
||
Line 3:
:Although his code is certainly wrong, I can't understand why it hasn't given the correct answer for the string he's testing (19 consonants). The only characters it contains which aren't vowels and consonants are space and double-quote and, whilst there are 5 of these, they both have ASCII codes below 65 and so should be excluded from the consonant count. Very strange. --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 14:03, 26 July 2021 (UTC)
== task wording ==
I think the task's wording should be expanded a bit (if it is to be kept).
:* '''Check''' maybe should be changed to '''Count'''.
:* If a '''count''' is desired, then the task should request the ''showing'' of the counts.
:* An example (or better yet, examples) of what can/should be used so everybody's solution shows the same count(s).
:* Maybe it should be specified that only '''Latin''' letters are to be counted, and no letters with diacritical marks are to be considered (or maybe they should).
:* Should there be a count showing '''U''' <small>&</small> '''u''' separately? Or show both, a sum of the two cases (upper + lower), and a count that shows the individual cases.
::::::::::::::::::: -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 14:05, 26 July 2021 (UTC)
|