44.8k views
4 votes
What does the “mystery” function do?

2 Answers

6 votes

Answer:

Find the product of prime number between 1and8

User Mxcl
by
6.1k points
8 votes

Answer:

function mystery() {

while (noBallsPresent()) {

move();

}

}

Step-by-step explanation:

Karel moves until it is on a ball.

User Ke
by
5.9k points