Write a program to input a sentence until user presses esc or enter key. Calculate the number of spaces, small letters, capital letters and vowels. It should also print the length of the sentence. If user enter a character other than space or alphabet, it should not be displayed on the screen.
Note: Use of functions only is allowed.

Recommended Answers

All 2 Replies

Hi jdadkn,

The policy here is that you can obtain help, but you won't get your homework done for you. The point of homework is usually not to provide the solution but to learn from having created one, so you'll need to have a go at this problem yourself first and post if you're having difficulties, explaining what the problem is.

Good luck

homework ? but it's not a homework doing site.do it own your own and if you have any specific doubts, then post here. We are here to improve you, not cheat you. If i give you the code, that will degrade you. Please try it yourself first. thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.