first let the user enter the string. then find out the no. of characters in that string. better if u store that string in array.now run the loop and compare each character with a,e,i,.o,u.if it is same increment the value of counter variable by 1 else not.
.............The question was pretty straightforward, yes. But we aren't those answer givers, or books that you can use to get answers:@, if you really do want a answer though, check this out, it helps alot.