If a mod 2 <> 0 then
это паскаль
static void Main(string[] args)
{
Console.WriteLine("Введите a");
int a = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Введите b");
int b = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("{0}+{1} = {1}+{0} = {2}", a, b, a + b);
Console.ReadKey();
}
В последней колонке отмечены неправильные ответы
Program z1; Var n:integer;Begin write('Введите число - '); readln(n); while n>9 do n:=n div 10; if (n mod 2= 0) then writeln('Четна') else writeln('Нечетна');<span>End.</span>