Write a program asking the user to keep entering in strings


Problem

Write a program asking the user to keep entering in strings (ie names) until they enter the string "leave", at which point you'll exit the loop and tell them how many times they entered the string "gold". This one requires that you use a loop and also keep a tally of the number of times they enter the string gold.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Write a program asking the user to keep entering in strings
Reference No:- TGS03284808

Expected delivery within 24 Hours