Answers for "write a program in c to find the square of any number using the function."

C
2

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;
}
Posted by: Guest on June-03-2021
1

square root function in c

#include <math.h>
 √x = sqrt(x) [In C Programming]
Posted by: Guest on December-29-2021

Code answers related to "write a program in c to find the square of any number using the function."

Code answers related to "C"

Browse Popular Code Answers by Language