In this exercise, you will be given a phrase that includes the word “meat”. Replace that word with the word “fruit” and return the results.

For example:

replaceMeat("I love meat") --> "I love fruit"
replaceMeat("I bought meat at the store") --> "I bought fruit at the store"

This is in Java.

Respuesta :

Answer:

Answer is in the provided screenshot!

Explanation:

This answer is actually a simplified version of another question I've answered for you here: https://brainly.com/question/15538849

If you need any more explanation on how this algorithm works, please ask me!

Ver imagen rainestormee