No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hai,im trying to do program using strings.The difficulty is that, i want to remove double spacing in the sentence.I dont know which function to use and the coding for it?please help me? //to remove double spacing-task 6 int i,k=0; for(i=0;i<s.length();i++) { if (s[i]==' ') { ???????????? ???????????? | |
Could please help me in the code,of how to extract the no of words in each sentence(if there are 2 or more sentence).But i want the code to use string function????????? |