| Date Assigned: | Wed Jan-24 |
| Date Due: | Thu Jan-25 |
You must work alone on this assignment.
Your task is to write a program which repeatedly asks the user for a number k (exiting if k is <= 0), and outputs the kth prime number. So, if the user enters 1, output 2 (the first prime). If the user enters 2, output 3 (the second prime). If the user enters 3, output 5 (the third prime). And so on.
This is a small variant on the problem we solved in class today.
Good luck.
DK