0
/ 10
The circuit()
method is intended to take the distance a person has moved on a circuit (a track) and translate it into the position they...
The circuit()
method is intended to take the distance a person has moved
on a circuit (a track) and translate it into the position they would be at,
regardless of how many times they've gone around. If the input n
is the
number of yards traveled, and the circuit itself is 198 yards in
circumference (labeled 0 to 197), which of the following would correctly
complete the method?
public int circuit(int n) {
int location = ____;
return location;
}
Your feedback will appear here when you check your answer.