Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

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