Write a function named primesBetween which takes two positive integer values, then prints all the prime numbers between these two numbers in increasing order (including the two numbers).

Assume the user will enter two positive integers which are greater than 2.

Examples:
INPUT OUTPUT
140 120 127 131 137 139
3 11 3 5 7 11
1001 1051 1009 1013 1019 1021 1031 1033 1039 1049 1051


Important issues about all exams/projects/quizzes: