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];
}
}
}
}
}