static void Main(string[] args) { Subtract subtractPositive = new Subtract(); subtractPositive.subNumberone = 10; subtractPositive.subNumbertwo = 6; subtractPositive.subtractNumber(); Console.WriteLine();
static void Main(string[] args) { Subtract subtractPositive = new Subtract(); subtractPositive.subNumberone = 10; subtractPositive.subNumbertwo = 6; subtractPositive.subtractNumber(); Console.WriteLine(); Subtract subtractNegative = new Subtract(); subtractNegative.subNumberone = 12; subtractNegative.subNumbertwo = 15; subtractNegative.subtractNumber(); Console.WriteLine(); //calling addition method Additional addUpnumber = new Additional(); addUpnumber.addNumberone = 120; addUpnumber.addNumbertwo = 56; addUpnumber.addingNumber(); Console.WriteLine(); //calling smartAdd method Additional addCal = new Additional(); addCal.SmartAdd(24, 9); Console.WriteLine(); //Calling division method Division division = new Division(); // division.divNumberOne = 5; // division.divNumberTwo = 25; division.DivisionNum(5, 25); Console.ReadKey(); }