Topic: Mathematics Problem / Level: intermediate

Problem: Write a program to check if a number is a prime number using trial division.

Run the code to see the output here...