#include <stdio.h>
#include <stdlib.h>
#include <math.h>
float display_output(float a)
{
float surface_area;
surface_area = 6 * a * a;
return surface_area;
}
float main()
{
system("cls");
float side;
printf("Enter the side of the square:\n");
scanf("%f", &side);
printf("Surface area of sqaure is: %f", display_output(side));
return 0;
}
//.......Coded by JAIDEEP JAMBLE
#ENJOY CODING
Post a Comment
FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP