CJCoding With Joseph

Count the Spaces

Count how many space characters are in the string "a b c" and print the total:

2

Expected Output:

2
Topics:
Strings
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.