June 2017

Among the computer programming languages, C is the most basic and also the most widely used language. C can be used not only for text documents but can also be used for various

A simple C program allowing you to find the square root of a number.

#include <math.h> #include <stdio.h> int main(void) { double x = 4.0, result; result = sqrt(x); printf("The square root of %lf is %lfn", x, result); return 0; }

- In this code we make use of the sqrt function, more information available on :
- Thanks to
*[TECH]*from the forum for this tip.

- Square root of a number in c
- How do we take the root of a no. in c language
- Finding square root of given number in c language
- How to find square root in C program?
- Calculate the square root of a number with Google.
- C language download
- A dialect for C language
- C language - Checking whether an integer is a prime number

Published by aakai1056.
Latest update on November 19, 2011 at 05:08 PM by Rik Sharma.