This flowchart computes the factorial of a number N. It initializes a counter M to 1 and the factorial F to 1. It then multiples the factorial F by the counter M and increments M until M equals the input number N, at which point it prints out the final value of F.
This flowchart computes the factorial of a number N. It initializes a counter M to 1 and the factorial F to 1. It then multiples the factorial F by the counter M and increments M until M equals the input number N, at which point it prints out the final value of F.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online from Scribd
This flowchart computes the factorial of a number N. It initializes a counter M to 1 and the factorial F to 1. It then multiples the factorial F by the counter M and increments M until M equals the input number N, at which point it prints out the final value of F.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online from Scribd