How do count the amount of words in a string? loop from first index to theString.lenght() if( theString[index] == ' ' ) words++; make su...
Average numbers loopin line 25, avg = sum / num; assuming the # symbol work for stopping the user input, the code above...
while loop not workingcount = count ++; isn't necessary, just count++; you can try this code while searching for anothe...
basic array problemtry this, [code] #include <stdio.h> int main(){ int a=10,b[9]; for(int i=0;i<8;i++){ ...
Nested if else statement errorsyes there seems to be two "else" statement. try to use brackets "{}" to execute more that one line i...
This user does not accept Private Messages