Write a program that reads an integer $N$ and displays all prime numbers between 2 and $N$.
esPrimo(int num) that returns a boolean value (true or false).An integer $N$ ($N \ge 2$).
A sequence of prime numbers from 2 up to $N$, separated by a space.
Input:
20
Output:
2 3 5 7 11 13 17 19