I have a simple nested while loop to get userinput and check if it is a prime number. But my while is going into infinite loop after user inputs the number.
i