Answer the question
In order to leave comments, you need to log in
Find area and perimeter of triangle by coordinates via c# operands?
1 is all in the console
class mymath
{
private mymath()
{ }
public static int sum(int a, int b)
{
return a + b;
}
public static int sub(int a, int b)
{
return a - b;
}
public static int mul(int a, int b)
{
return a * b;
}
public static int div(int a, int b)
{
return a / b;
}
}
class Program
{
static void Main(string[] args)
{
Console.WriteLine(mymath.sum(23, 78));
Console.ReadKey();
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question