Ethan O.
asked 02/19/20
What type of recursion is illustrated below?
void Player4()
{
//Player 4's turn
//...
Player1();
}
void Player3()
{
//Player 3's turn
//...
Player4();
}
void Player2()
{
//Player 2's turn
//...
Player3();
}
void Player1()
{
//Player 1's turn
Player2();
}
a) exhaustive
b) direct
c) iterative
d) indirect
Inactive Tutor
answered 02/19/20
recursively player4 gets called indirectly
Still looking for help? Get the right answer, fast.
OR
Find an Online Tutor Now
Choose an expert and meet online.
No packages or subscriptions, pay only for the time you need.