Question: please code in java and dont use very advanced coding.. refer the images provided for scope and input output A game Duck, duck, goose is
please code in java and dont use very advanced coding.. refer the images provided for scope and input output
A game Duck, duck, goose is a children game where kids sit in a circle, facing inward, while another player, walks around calling each a "duck" until finally calling one a "goose". Given the number of kids seated in a circle, and the number of ducks called out, determine which child is the goose. Facts: The player circles the group in clockwise rotation Label the children numerically. The first duck called is labeled: child 0 To the left of child 0 is child n-1, where n is the number of children Input You are given two positive integer inputs. The first represents the number of kids in the circle. The second represents the number of ducks that are called before goose. Output Print as an integer which child was selected as goose.

P1 Solutions limited in scope to
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
