Question: plz ans quickly, c programming Implement the following procedure in C language to generate prime numbers from 1 to 100 into a program. This procedure

plz ans quickly, c programming
Implement the following procedure in C language to generate prime numbers from 1 to 100 into a program. This procedure is called sieve of Eratosthenes. Step 1: Fill an array num[100] with numbers from 1 to 100 Step 2: Make the first entry as zero. Step 3: Starting with the second entry in the array, set all its multiples to zero. Step 4: Proceed to the next non-zero element and set all its multiples to zero. Step 5: Repeat step 4 till you have set up the multiples of all the non-zero elements to zero Step 6: At the conclusion of step 4, all the non-zero entries left in the array would be prime numbers, so print out these numbers. 3 -End of the
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
