The factorial of an inputted number in Flowgorithm

38 views Asked by At

So, we were given this assignment in our CS class that instructed us to make a flowchart in Flowgorithm that computes and displays the factorial of an inputted number (as seen in the Google Classroom screenshot).

Google Classroom screenshot, Given Picture 1, Given Picture 2, Given Picture 3.

I have already made 2 programs that can output a factorial of the number. One that simply outputs, and another one where you can input how much of a gap there is from one factor to another.

Program 1, Program 2.

The problem with those programs, though, is that they can not replicate the outputs seen in the pictures. They also do not use the formula given, as that formula only properly calculates factorials until 4.

So, is there any way to:

  1. Display all numbers needed for the factorial in the output as seen in the given pictures;
  2. and Use the formula given without changing it.
0

There are 0 answers