Advertisements
Advertisements
प्रश्न
Write pseudocode to calculate the factorial of a number (Hint: Factorial of 5, written as 5! = 5 × 4 × 3 × 2 × 1).
टीपा लिहा
Advertisements
उत्तर
Input number
Set Factorial = 1
For i in range ( 1, number + 1) :
Factorial *= I
Print factorialshaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
