コード例 #1
0
        static void Main(string[] args)
        {
            Calcular player = new Calcular();

            System.Console.WriteLine(player.calcular());

            System.Console.WriteLine(player.calcular(100));

            System.Console.WriteLine(player.calcular(100, 75));
        }
コード例 #2
0
        static void Main(string[] args)
        {
            Calcular infoplayer = new Calcular();


            System.Console.WriteLine(infoplayer.calcular());

            System.Console.WriteLine(infoplayer.calcular(89));

            System.Console.WriteLine(infoplayer.calcular(11, 89));

            System.Console.WriteLine(infoplayer.calcular("suporte", "1100"));
        }