View Single Post
  #3 (permalink)  
Old 11-14-2007, 08:40 PM
JavaBean's Avatar
JavaBean JavaBean is offline
Moderator
 
Join Date: May 2007
Posts: 1,272
JavaBean is on a distinguished road
Quote:
That is my program...how would i go about finding the searchword, and also finding how many times it is found in the sentence.
You start searching in your while loop before getting input from the user. Try getting the user first and then searching..
Reply With Quote