370 B
370 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.