You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write a program which controls if a given number is prime or not and displays the result. The program should continue asking new numbers until number -1 is encountered.