Need Help ?
Have a Question ?

(Solved): 2) (15 Pts] Assume Your Code Is In The Main Method. Don't Include The Import Statement. Write Iterat ...


2) (15 pts] Assume your code is in the main method. Dont include the import statement. Write iterating code that counts stri
2) (15 pts] Assume your code is in the main method. Don't include the import statement. Write iterating code that counts strings entered by the user, until "finished" is entered exactly as it is written here, meaning your code is case sensitive. Your code prints out the number of strings entered, not including the "finished" string. See sample run below. Input any string (or finished to quit): dog Input any string (or finished to quit): cat Input any string (or finished to quit): finished Number of strings entered = 2 Write constant here: f LOST = "finished",

Expert Answer


We have an Answer from Expert Buy This Answer $6