Topic: Array Problem / Level: beginner

Problem: Check if an array contains only powers of a given number n.

Run the code to see the output here...