Q. To find factorial of a given number.
Answer :-
Algorithm :-
1. Start
2. Input number
3. Fact = 1
4. For I in range number + 1
Fact *= I
5. Print Fact
Pseudocode :-
N = input a number
Fact is 1
For I in rang n +1
Fact equal to fact * I
Display Fact
Flow Chart :-
Click on image for clear view.
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )