Write a loop that readsstringsfrom standard input where thestringis either "duck" or "goose". Theloop terminateswhen "goose" is read in. After the loop, your code should print out the number of "duck"stringsthat were read.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here