19 lines
555 B
C#
19 lines
555 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ConsoleApp1
|
|
{
|
|
public class Calculator
|
|
{
|
|
public double Addiction(double x, double y) => x + y;
|
|
public double Subtraction(double x, double y) => x - y;
|
|
public double Multipliction(double x, double y) => x * y;
|
|
public double Division(double x, double y) => x / y;
|
|
public long Multipliction(long x, long y) => x * y;
|
|
public long Addiction(long x, long y) => x + y;
|
|
}
|
|
}
|