#include <stdio.h>
int	ft_sqrt(int nb)
{
	long    i;
	long    n;
	
	i = 0;
	n = nb;
	while (i <= n)
	{
		if (i * i == n)
			return (i);
		i++;
	}
	return (0);
}
int main() {
    printf("%d\n", ft_sqrt(46000*46000));
    return 0;
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: