Question: Write a C++ Program which allows the user to input an integer value (your roll number + 10) for a variable name (your Name). Based
Write a C++ Program which allows the user to input an integer value (your roll number + 10) for a variable name (your Name). Based on the input value, the program should perform the following tasks using the functions:
- To check whether its a prime number?
- Find its factorial?
- Whether its even or odd?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
