Question: Question 1: (4 Marks, 2 cach) A. Write the output of below flowchart (Figure 1) when: i. P-5 ii. P-6 iii. P=14 iv. P-15 Note:
Question 1: (4 Marks, 2 cach) A. Write the output of below flowchart (Figure 1) when: i. P-5 ii. P-6 iii. P=14 iv. P-15 Note: A prime number is a whole number greater than 1 whose only factors are 1 and itself. The first few prime numbers are 2, 3, 5, 7, 11, 13, 17, 19, 23 and 29 S12 nep D1 Speven ppmer is S2 Figure 1: Flowchart of an Algorithm
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
