using UnityEngine;
public class PlusGrandElement : MonoBehaviour
{
public int [] nombres = new int [6];
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
int max = nombres[0];
for (int i = 0;i max)
{
max = nombres[i];
}
}
print ("le plus grand nombres du tableau est " + max);
}
// Update is called once per frame
void Update()
{
}
}