Untitled
unknown
csharp
10 months ago
319 B
5
Indexable
Never
static void Main(string[] args) { int number = Convert.ToInt32(Console.ReadLine()); bool evenNumber = (number % 2 == 0); if (evenNumber) { Console.WriteLine($"{number} is even."); } Console.ReadLine(); }
Leave a Comment