0

Complete program - design two recursive functions with menu:

Write a program that asks the user to input a positive integer, and then produces a menu where the user can choose to either check if the number entered is a prime number or print the sum of all the integers from 0 to the number entered. You are required to use a recursive function isPrime for checking whether the number entered is a prime number. Also you are required to use a recursive function sum to produce the summation of all integers from 0 to entered number.