Follow us on:twitter ·facebook  ·  Change language:
folkd.com"
Blog About folkd.com
Register for free · Already a member?  Login
Page details
First discovered on:
03:05am, 03/04/13

All tags for this page:
0%
2 folks

Word Count| Learn Programming Online - Learnst

http://www.learnstreet.com/cg/simple/project/word_count - Details

[email protected]: In this programming exercise, we will try to count and extract the words in a user's input. This may span one or more sentences, may include all sorts of alphabets, numbers and characters. And we are not going to use split and count functions,...

Save this page to your bookmarks.

Tagged and described by the following users:

[email protected] saved and folkd this page on 03/04/2013 03:05am

In this programming exercise, we will try to count and extract the words in a user's input. This may span one or more sentences, may include all sorts of alphabets, numbers and characters. And we are not going to use split and count functions, but instead perform it ourselves to learn the logic of how many of these operations are performed. If you come across a sentence like

Tags: learn to code  learn programming online  learning programming  learn programming languages 
[email protected] saved and folkd this page on 03/04/2013 03:34am

"Leaves are green, roses are red" it's easy for us to see that there are 6 words. But how do we make a computer carry out this task? Let's try to arrive at a logic for doing such a thing. At first look, it seems to me that if we count the number of spaces, that could definitely tell us something. In the above string, if we count the occurrence of a space.

Tags: learn to code  learning programming  learn programming languages 

This URL was also folkd by:

by [email protected], by [email protected]
 
About folkd.com:
· Social Search
· Social Bookmarks
· Features (VIDEO)
Content:
· Explore
· Community
· Statistics
· Credits
Business:
· Help / Feedback
· Contact / Imprint
· Advertising
· Press
Legal:
· Terms of Use
· Privacy
· Copyright Policy
Get involved:
· Buttons for your Webpage
· Get a Pro Account
· Follow us on twitter
· Friend us on facebook

© 2006 - 2023 - folkd.com - all rights reserved