welcome
now lets expand ur c programming with a more powerful function
the sqrt function
lets say u wan to square 9
or any number u choose
#include
#include
int main()
{
double x = 9;
double result = sqrt(x);
printf("The square root of %.2lf is %.2lf\n", x, result);
getchar();
return (0);
}
remember to include the math.h file as u are using the sqrt function
please leave comments
csya rhe mind of the future!!