int sqrt(int nb) { int i; i = 0; if (nb < 0) return (0); while (i < 46341 || i < nb) { if (i * i == nb) return (i); i++; } return (0); }