class Solution
{
static void Main(String[] args)
{
int q = Convert.ToInt32(Console.ReadLine());
for(int a0 = 0; a0 < q; a0++)
{
string[] tokens_x = Console.ReadLine().Split(' ');
int x = Convert.ToInt32(tokens_x[0]);
int y = Convert.ToInt32(tokens_x[1]);
int z = Convert.ToInt32(tokens_x[2]);
if(abs(z-x) > abs(z-y))
{
Console.WriteLine("Cat B\n");
}
else if(**
abs(z-x) < abs(z-y))
{
**
Console.WriteLine("Cat A\n");
}
else
{
Console.WriteLine("Mouse C\n");
}
}
How can I get the absolute value of a number in C#?