/* */ Click to Join Live Class with Shankar sir Call 9798158723
Q.) WAP to Find the square of any number using function With C program.
    #include < stdio.h>

double square(double num)
{
    return (num * num);
}
int main()
{
    int num;
    double n;
	printf("\n\n Function : find square of any number :\n");
	
     
    printf("Input any number for square : ");
    scanf("%d", &num);
    n = square(num);
    printf("The square of %d is : %.2f\n", num, n); 
    return 0;
}

Output
Function : find square of any number :

Input any number for square : 20
The square of 20 is : 400.00br>