THE EXERCISE OF THE GUYS GUYS HAS BEEN MOVED TO THE MENU "EXERCISE OF Teacher"

Check primes

Threads: Write test program 1 there is prime number not? Prime number is a positive integer only 2 Convention is 1 and itself. Example No. 2, 3, 5,…
Input: A single integer.
Output: “TRUE” if it is prime, “FALSE” otherwise
For example:

input:
3
output:
TRUE

You are not logged in? Log in to Submit Now!

19 Comments

Add a Comment