i want to replace the prime numbers by 0 my code is not working

Printable View