Count even numbers 1..17.
Ready — edit the code above and click Run.
using System;
class Program
{
static void Main()
{
int n = 17;
Console.WriteLine(n / 2);
}
}
Try solving on your own first, then reveal the official answer.
Integer division count.