Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

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;
}
 
PREVIOUS NEXT
Tagged: #square
ADD COMMENT
Topic
Name
4+2 =