✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
int k, num = 6;
if (num < 10)
{ Console.Write("{0} Це число менше 10.", num);
k = 1;
}
else if (num == 10)
{ Console.Write("{0} Це число дорівнює 10.", num);
k = 2;
}
else
{ Console.Write("{0} Це число більше 10.", num);
k = 3;
}
Console.WriteLine(" k = {0}", k);