class Program
{
public struct persona
{
public string nombre;
public double estatura, peso;
}
static void Main(string[] args)
{
persona[] p = new persona[3];
int x;
for (x = 0; x < p.Length; x++)
{
Console.Clear();
Console.WriteLine("nombre =^.^=].nombre = Console.ReadLine();
Console.WriteLine("peso =^.^=:");
p
- .peso = double.Parse(Console.ReadLine());
Console.WriteLine("estatura =^.^=:");
p
- .estatura = double.Parse(Console.ReadLine());
}
Console.Clear();
for (x = 0; x < p.Length; x++)
{
Console.SetCursorPosition(10, x + 5);
Console.Write("{0}", p
Console.SetCursorPosition(30, x + 5);
Console.Write("{0}", p
Console.SetCursorPosition(40, x + 5);
Console.Write("{0}", p
}
Console.ReadKey();
}
}
}
BYEEEEEEE