42sh 1.0.0
Create a shell in C
Loading...
Searching...
No Matches
my_compute_square_root.c File Reference

The file containing the my_compute_square_root function. More...

#include "my.h"

Functions

int my_compute_square_root (int nb)
 Returns the square root of a number (nb)
 

Detailed Description

The file containing the my_compute_square_root function.

Author
Nicolas TORO

Function Documentation

◆ my_compute_square_root()

int my_compute_square_root ( int nb)

Returns the square root of a number (nb)

Parameters
nbThe number to calculate
Returns
int The square root of the number
Author
Nicolas TORO