0
So, I wanted to make a function which will return nth prime number when calling it for the nth time(it should return 2 when I call it for the first time, 5 when I call it for the second time, then 11...).
I had a problem with this until I discovered static int which solved my problem. Since I am ...