Posts
 
Reputation
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
~349 People Reached
Favorite Forums
Favorite Tags

2 Posted Topics

Member Avatar for j6m8

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 << …

Member Avatar for j6m8
0
71
Member Avatar for pyguy25

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).

Member Avatar for j6m8
0
278

The End.