root in C
#include <stdio.h>
#include <math.h>
int main()
{
double num = 6, squareRoot;
squareRoot = sqrt(num);
printf("Square root of %lf = %lf", num, squareRoot);
return 0;
}
root in C
#include <stdio.h>
#include <math.h>
int main()
{
double num = 6, squareRoot;
squareRoot = sqrt(num);
printf("Square root of %lf = %lf", num, squareRoot);
return 0;
}
c math sqrt function
#include <iostream>
#include <cmath>
using namespace std;
int main() {
cout << "Square root of 25 = ";
// print the square root of 25
cout << sqrt(25);
return 0;
}
// Output: Square root of 25 = 5
c sqrt
double sqrt(double arg);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us