I'm trying to write a program that reads the input number from the console and checks if its even or odd. For example.
Enter a number to check ODD or EVEN: 21 21 is an ODD number Press any key to continue . . .
I would also like to extend this by the program reading if the number is a prime number or not.
I've been at this for 2 days off and on now, I can't seem to get my head around it! Can anyone help? I feel like this task is pretty simple but i'm missing the basics.
by Vipvip7 via /r/csharp