Technologies

C

Write an algorithm an draw flowchart to find factorial of a number?
(adsbygoogle = window.adsbygoogle || []).push({});
### Flowchart :

$("#div30").hover(function(){
$(this).attr("style","-ms-transform: rotate(90deg); -webkit-transform: rotate(90deg); transform: rotate(90deg); height:auto;");
}, function(){
$(this).removeAttr("style");
});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});

CLanguage

Sunday, 13 Aug 2017

39893

1

0

**Algorithm : a**- Step 1 : Start
- Start 2 : Read n
- Start 3 : Initialize counter variable i to 1 and fact to 1
- Start 4 : if i <= n go to step 5 otherwise goto step 7
- Start 5 : calculate fact = fact * i
- Start 6 : increment counter variable i and goto step 4
- Start 7 : Write fact.
- Start 8 : Stop

Post Article

Upload Youtube Video

CLanguage

Sunday, 13 Aug 2017

39893

1

0

Popular Post

- Write an algorithm and draw the flowchart to find the largest number among the three numbers?
- Write an algorithm an draw flowchart to find factorial of a number?
- Write an algorithm and draw the flowchart to find whether a given number is even or odd?
- Write an algorithm and draw the flowchart to Swap two integers?
- Write an algorithm an draw the flowchart to compute the average of the three numbers?
- Write an algorithm and draw the flowchart to find the largest number amoug two numbers?
- write a c program to swap two numbers
- How to write a algorithm?
- What is mean by Operator Precedence and Associativity in C Language?
- C Languages Relational Operators

All contents are copyright of their authors