Go backward to Go up to TopGo forward to Program Specification |

*Problem Statement:*

Write a program that takes a number and returns the next prime number.

*Program Specification*

*Input:*`n`such that*isNumber*(`n`);*Output:*`p`such that*isNextPrime(*.`n`,`p`)

Author: Wolfgang Schreiner

Last Modification: October 6, 1999