#include <stdio.h>
int main()
{
const float PI = 3.1415;
float circumference;
float radius_of_circle;
float area_of_circle;
float side_of_square;
float perimeter_of_square;
float area_of_square;
printf("\n Please enter the circumference of the circle : ");
scanf_s("%f", &circumference);
radius_of_circle = circumference / (2 * PI);
area_of_circle = PI * radius_of_circle * radius_of_circle;
perimeter_of_square = circumference;
side_of_square = perimeter_of_square / 4;
area_of_square = side_of_square * side_of_square;
printf("\n The area of the circle is %f", area_of_circle);
printf("\n The area of the square is %f", area_of_square);
getchar();
getchar();
return 0;
}