does anyone know how to filter non-prime numbers out out of an array and replace them with zero's while leaving all of the prime numbers untouched and in the same position they had started at?
i just need a little help with figuring this part out. thanks