C++
Your goal is to ask the user for a number and to determine ifthat number is a prime number. Use a function to determine if thenumber is prime. Your program should have the following:
The name of the program should be Assignment 6.
3 comment lines (description of the program, author, anddate).
Ask the user for an integer. Store this result in a variablewith an appropriate name. (1 point)
Write a function that has an integer parameter and determinesif that integer is a prime number. A prime number is divisible byitself and 1. This function should return true if the
PayPal Gateway not configured
PayPal Gateway not configured