Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #55.0K
2 Posted Topics
I'll admit, I feel like an idiot. It's 3 in the morning and I refuse to go to bed until this is solved. So here's the dealio: [code=c] void doThisIGuess() { int numb = getch(); char numa = char(numb); int num = atoi(&numa); if (num != 0) { cout << …
There may some issues with my solution if you have some funky grammar going on, but [code=python]numOfWords = (yourSentenceString.count(' ')+1)[/code] worked fine for me and it's a bit more succinct. Only two lines of code (the first being when you assign your sentence string).
The End.
j6m8