Hello frnds,
I need ur help for the following C-Prog:
/* Count the number of vowels and comsonants in the any line given by user*/
The output is giving me the number of vowels correctly but the number of consonants is being given including the spaces.
Eg: Today is saturday
No of vowels= 6
No of consonants=11
How can I exclude the spaces from the consonant count?
|
Go4Expert Founder
|
![]() |
| 10Oct2010,10:37 | #2 |
|
This is your 10th post and yet I see that you are submitting your queries as articles.
|
|
Light Poster
|
|
| 10Oct2010,15:52 | #3 |
|
man isspace
|
|
Pro contributor
|
![]() |
| 10Oct2010,18:49 | #4 |
|
Quote:
Originally Posted by somali.cc send your code so far to correct it for you. |
|
Go4Expert Member
|
|
| 10Oct2010,20:18 | #5 |
|
@Shabbir
Just bcoz u own this site, u feel dat u can ridicule the members ??? Instead of giving such humiliating comments if u wd have helped solving the query, dat wd ve been appreciated !!!.... |
|
Go4Expert Founder
|
![]() |
| 11Oct2010,07:45 | #6 |
|
It is not about owning and not owning. If you find new people submitting articles as queries that can be acceptable but if members as experienced as you do the same I should at least let them know.
|



