Answers for "c square variable"

C
1

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

Code answers related to "C"

Browse Popular Code Answers by Language