If input from the user(for read N) is 6, the output output of the following algorithm will be
Answers
Answered by
0
Answer:
720
Explanation:
out put would be 720
1 < 6
i = 1 + 1 = 2
=> X = 1 * 2 = 2
next
2 < 6
i = 2 + 1 = 3
=>X = 2 * 3 = 6
ans so on till i < 6
2 * 3 * 4 * 5 * 6
= 720
Similar questions