Frage im Vorstellungsgespräch bei Fast Enterprises

Write the pseudocode for the isprime() function.