forked from ABorham90/sum_numbers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Program.cs
31 lines (31 loc) · 816 Bytes
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
namespace sum_numbers
{
internal class Program
{
public static int sum(int num1,int num2)
{
return num1 + num2;
}
public static int multiply(int num1,int num2)
{
return num1 * num2;
}
public double division(int num1,int num2)
{
return num1 / num2;
}
//added in local repo => branch feature
public static int subtract(int num1,int num2)
{
return num1 - num2;
}
static void Main(string[] args)
{
int result=sum(10, 20);
int Result=multiply(10, 20);
Console.WriteLine(result.ToString());
Console.WriteLine(Result.ToString());
Console.WriteLine("Hello, World!");
}
}
}