Topic: Language Problem / Level: beginner

Problem: Write a program to find the smallest prime factor of a number using a function.

Run the code to see the output here...