You are on page 1of 1

Write a java code that will ask the user to enter a word and search the word on a text

file, if
found display the content of the text file and the number of times the word appear, if no word is
found display appropriate message and continue to ask another word to search. After the content
and the number of times the word appears on the text file, ask the user if he or she wants to
change the word, if yes as what is the new word then save the content of the text file with the
new word on a different text file.

You might also like