Question: In Class Lab 2 Name your program lab 2 . c Ask the user to enter a number between 1 and 1 5 If the
In Class Lab
Name your program labc
Ask the user to enter a number between and
If the user does not enter a number between and prompt the user to reenter until they
have complied.
For example, if I enter your output should be something like:
That is not a number between please try again
Then prompt the user if they would like to use recursion or not. You can prompt them with a
simple or Be aware the input is case sensitive so please use capital and
If recursion is desired, call a recursive function to calculate the factorial of Where
is the number entered by the user.
If recursion is not desired, call a function that does not utilize recursion to calculate the
a c c factorial of Where is the number entered by the user. please give me whole code and also use the edit thing in photo with specific line and also please give me output photo.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
