#include <stdio.h>
#include <math.h>
struct point
{
int xpos;
int ypos;
};
struct circle
{
double radious;
struct point * center;
};
int main()
{
struct point cen={2, 7};
double rad=5.5;
struct circle ring={rad, &cen};
printf("원의 반지름: %g \n", ring.radious);
printf("원의 중심 [%d, %d] \n", (ring.center) -> xpos, (ring.center) -> ypos);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: