I’m a student and our instructor asked us to create a program that would determine if a number is a prime number or not. In addition, if the input is not a whole number, the program should return an error stating "You have entered a wrong number!".
I’m a little clueless right now and would like some help on this. Any programming language can be used in creating the program but I hope you guide me through the simplest one. Thank you so much.