Home > Back-end >  Online, such as urgent!
Online, such as urgent!

Time:11-08

O n! + (n - 1)! The algorithm flow chart thank god

CodePudding user response:

This thing has algorithm?

CodePudding user response:

Var m: integer;
M:=1;

For I:=1 to n do begin
M:=I m *;
End


Factorial seemed to calculate so did!
Settings of n values, respectively to calculate n! And (n - 1)! Add them up