566 B
566 B
In the file is_prime there are a few numbers.
- Write a Python, C/C++ and Java programs and check whether it is a prime number of not.
Remark 1: There are some algorithms which can simplify this task, like Miller–Rabin. Please, do not use them. The goal is to compare the code from different programming paradigms.
Remark 2: Please, do not use external libraries.
- Using a graphical debugger is crucial in programming. Use graphical debugger to stop your program in the exact moment when the code finds out whether the given number is indeed prime or not.