0
   

Loop and condition

 
 
n1990
 
Reply Fri 25 Sep, 2015 04:25 pm
Hi, I am relatively new to learning Javascript and need to answer a question which I am stuck on.
I want a user to enter a string, count the number of vowels (A,E,I,O,U) the string contains, and output the number of vowels to the user.
So if the user enters "All cows eat grass" it would output "5".
thanks
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 0 • Views: 553 • Replies: 0
No top replies

 
 

Related Topics

 
  1. Forums
  2. » Loop and condition
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 04/19/2024 at 07:02:21