18
26
wmi-parprog/01_Python_C_C++_Java/ex1.md
2025-02-24 10:09:07 +01:00

318 B
Raw Blame History

In the file is_prime there are a few numbers.

  1. Write a Python, C/C++ and Java programs and check whether it is a prime number of not.

Remark: There are some algorithms which can simplify this task, like MillerRabin. Please, do not use them. The goal is to compare the code from different programming paradigms.