Skip to main content
se añadieron 45 caracteres en el cuerpo
Origen Enlace
using System;
namespace TresNombres
{
   class Program
   {
       static void Main(string[] args)
       {
          int[] numbers;
          int Mayor;mayor, menor;
          numbers = new numbers[3];
          Console.WriteLine("Insert first number: ");
          numbers[0] = (Console.ReadLine());
          Console.WriteLine("Insert second number: ");
          numbers[1] = int.Parse(Console.ReadLine());
          Console.WriteLine("Insert third number: ");
          numbers[2] = int.Parse(Console.ReadLine());
          Mayormayor = Registro[0].promedio;numbers[0];
          menor = numbers[0];
          for (i = 0; i < n; i++)
          {
              if(Mayormayor < numbers[i])
              {
                  Mayormayor = numbers[i];
              }else{
                  menor = numbers[i];
              }
          }
      }
   }
}
using System;
namespace TresNombres
{
   class Program
   {
       static void Main(string[] args)
       {
          int[] numbers;
          int Mayor;
          Console.WriteLine("Insert first number: ");
          numbers[0] = (Console.ReadLine());
          Console.WriteLine("Insert second number: ");
          numbers[1] = int.Parse(Console.ReadLine());
          Console.WriteLine("Insert third number: ");
          numbers[2] = int.Parse(Console.ReadLine());
          Mayor = Registro[0].promedio;
          for (i = 0; i < n; i++)
          {
              if(Mayor < numbers[i])
              {
                  Mayor = numbers[i];
              }
          }
      }
   }
}
using System;
namespace TresNombres
{
   class Program
   {
       static void Main(string[] args)
       {
          int[] numbers;
          int mayor, menor;
          numbers = new numbers[3];
          Console.WriteLine("Insert first number: ");
          numbers[0] = (Console.ReadLine());
          Console.WriteLine("Insert second number: ");
          numbers[1] = int.Parse(Console.ReadLine());
          Console.WriteLine("Insert third number: ");
          numbers[2] = int.Parse(Console.ReadLine());
          mayor = numbers[0];
          menor = numbers[0];
          for (i = 0; i < n; i++)
          {
              if(mayor < numbers[i])
              {
                  mayor = numbers[i];
              }else{
                  menor = numbers[i];
              }
          }
      }
   }
}
se añadieron 45 caracteres en el cuerpo
Origen Enlace

using System; using System.ComponentModel;

namespace TresNombres { class Program { static void Main(string[] args) { int[] numbers; int Mayor; Console.WriteLine("Insert first number: "); numbers[0] = (Console.ReadLine()); Console.WriteLine("Insert second number: "); numbers[1] = int.Parse(Console.ReadLine()); Console.WriteLine("Insert third number: "); numbers[2] = int.Parse(Console.ReadLine()); Mayor = Registro[0].promedio; for (i = 0; i < n; i++) { if(Mayor < numbers[i]) { Mayor = numbers[i]; } } } } }

using System;
namespace TresNombres
{
   class Program
   {
       static void Main(string[] args)
       {
          int[] numbers;
          int Mayor;
          Console.WriteLine("Insert first number: ");
          numbers[0] = (Console.ReadLine());
          Console.WriteLine("Insert second number: ");
          numbers[1] = int.Parse(Console.ReadLine());
          Console.WriteLine("Insert third number: ");
          numbers[2] = int.Parse(Console.ReadLine());
          Mayor = Registro[0].promedio;
          for (i = 0; i < n; i++)
          {
              if(Mayor < numbers[i])
              {
                  Mayor = numbers[i];
              }
          }
      }
   }
}

using System; using System.ComponentModel;

namespace TresNombres { class Program { static void Main(string[] args) { int[] numbers; int Mayor; Console.WriteLine("Insert first number: "); numbers[0] = (Console.ReadLine()); Console.WriteLine("Insert second number: "); numbers[1] = int.Parse(Console.ReadLine()); Console.WriteLine("Insert third number: "); numbers[2] = int.Parse(Console.ReadLine()); Mayor = Registro[0].promedio; for (i = 0; i < n; i++) { if(Mayor < numbers[i]) { Mayor = numbers[i]; } } } } }

using System;
namespace TresNombres
{
   class Program
   {
       static void Main(string[] args)
       {
          int[] numbers;
          int Mayor;
          Console.WriteLine("Insert first number: ");
          numbers[0] = (Console.ReadLine());
          Console.WriteLine("Insert second number: ");
          numbers[1] = int.Parse(Console.ReadLine());
          Console.WriteLine("Insert third number: ");
          numbers[2] = int.Parse(Console.ReadLine());
          Mayor = Registro[0].promedio;
          for (i = 0; i < n; i++)
          {
              if(Mayor < numbers[i])
              {
                  Mayor = numbers[i];
              }
          }
      }
   }
}
Origen Enlace

using System; using System.ComponentModel;

namespace TresNombres { class Program { static void Main(string[] args) { int[] numbers; int Mayor; Console.WriteLine("Insert first number: "); numbers[0] = (Console.ReadLine()); Console.WriteLine("Insert second number: "); numbers[1] = int.Parse(Console.ReadLine()); Console.WriteLine("Insert third number: "); numbers[2] = int.Parse(Console.ReadLine()); Mayor = Registro[0].promedio; for (i = 0; i < n; i++) { if(Mayor < numbers[i]) { Mayor = numbers[i]; } } } } }