Can anyone teach me on how to create a program that counts spaces entered in a string.....
javapal
0
Newbie Poster
Recommended Answers
Jump to PostLoop through a string and for every char that is a whitespace increment a counter.
All 3 Replies
di2daer
12
Junior Poster in Training
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
mrnutty
761
Senior Poster
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.