What is the output value of the variable fact according to this flowchart?

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

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.