square in c
#include <math.h>
int main()
{
float number;
square = pow(number,2); //This returns number raised to the power 2
printf("The square of %f is %f", number, square);
return 0;
}
square in c
#include <math.h>
int main()
{
float number;
square = pow(number,2); //This returns number raised to the power 2
printf("The square of %f is %f", number, square);
return 0;
}
square in c
#include <stdio.h>
int main()
{
float number;
printf("Enter a number: ");
scanf("%f", &number);
square = number * number;
printf("square of the given number %f is %f", number, square);
return 0;
}
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