static void Main(String[] atgs) { int x, y; x = Convert.ToInt16(Console.ReadLine()); y = Convert.ToInt16(Console.ReadLine()); valores val = new valores(operaciones.suma); val(x, y); val = new valores(operaciones.res); val(x, y); val = new valores(operaciones.mul); val(x, y); val = new valores(operaciones.div); val(x, y); }
static void Main(String[] artgs) { Double x, y; x = Convert.ToSingle(Console.ReadLine()); y = Convert.ToSingle(Console.ReadLine()); valores val = new valores(operaciones.suma); val(x, y); val = new valores(operaciones.res); val(x, y); val = new valores(operaciones.mul); val(x, y); val = new valores(operaciones.div); val(x, y); }