We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Challenge 5 - Count words and lines
#3
In a way this seems like an easy challenge, but when you get into it, it is tough! The easy part says just use spaces in between words and count them. For lines just count line feed characters. 

Then you write out a document with Notepad. You write a sentence and terminate it with a period. Then write another sentence and terminate it with a question mark and so on. Maybe you throw in an exclamation point or 2. In your sentences you throw in some numbers. Like I just did. Those are not really words. Do they count? Your sentences don't have linefeed characters. Do they count?

So, my thinking is maybe we should have a little more guidance for this challenge! I have noticed that there is only one reply to this challenge. Maybe this is why.

JR
[-] The following 1 user Likes jrmrhrb00's post:
  • litdev
Reply


Messages In This Thread
Challenge 5 - Count words and lines - by litdev - 09-06-2024, 08:49 AM
RE: Challenge 5 - Count words and lines - by z-s - 09-06-2024, 12:19 PM
RE: Challenge 5 - Count words and lines - by jrmrhrb00 - 09-11-2024, 09:55 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)