Write a program that prompts the user to enter an integer m and find the smallest integer

Question:

Write a program that prompts the user to enter an integer m and find the smallest integer n such that m * n is a perfect square. Here are sample runs:image

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: