You are developing an algorithm before you write the C# program. You need to perform some calculations on a number. You develop the following flowchart for the the calculation:
If the input value of n is 5, what is the output value of the variable fact according to this flowchart?
A. 720
B. 120
C. 24
D. 6