Topic: Array Problem / Level: beginner

Problem: Replace all prime numbers in an array with -1.

Run the code to see the output here...