Trace the step by step execution of algorithm for factorial (3)
Answers
Answered by
1
hi dear
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
hope it helps
please mark me pls
#smiley❤
Similar questions
Computer Science,
1 month ago
English,
1 month ago
English,
1 month ago
Computer Science,
9 months ago
Chemistry,
9 months ago