Error in the code
prime-factorisation-using-sieve
tharun
(tharun kumarvoora)
May 20, 2020, 9:45am
#1
shrm.abhishek.kmr
(Abhishek sharma)
May 20, 2020, 10:13am
#2
@tharun
See line 16 and 17, There should be a[2]=1; a[0]=a[1]=0; 2 is prime number and 0 and 1 aren’t
print one space after printing c[z] in line 50