Answer:
long fact(int n)
{
if(n<=1)//base case
return 1;
long p=fact(n-1);//recursive call.
return n*p;//returning the factorial.
}
Explanation:
Above written function is written in C++ language.It is a recursive function to find the factorial of the function.
If we enter a number equal to or less than 1 then the function returns 1. Then the recursive call is made and it is stored in the long variable p and the result is returned as n*p.
The Python statement that correctly performs the interest calculation is:
- interest = (principal interest) time.
<h3>What is a Python statement?</h3>
This is known to be a statement that is said to an instruction that a Python is said to often decode or interpreter and it is also one that it can execute.
Therefore, The Python statement that correctly performs the interest calculation is:
- interest = (principal interest) time.
Learn more about Python statement from
brainly.com/question/14986545
#SPJ1
No thats not illegal, because it is a copyright. And this is not for school.XD
Convert the MBR to GPT disk is a way to solve the problem.