#include <stdio.h>
#include <string.h>
#include <math.h>
#define ratio 0.01745329251994329576923690768489
int main()
{
int i, j;
for(i = 0; i <= 270; i += 17)
{
double s = sin(i * ratio);
if (i == 85)
continue;
for (int j = 0; j < (1 - s) * 10; j++)
printf(" ");
if (i < 90)
{
for (j = 0; j < 2 * (int)(s * 10); j++)
printf("*");
for (j = 0; j < 2 * (int)((1 - s) * 10) + 1; j++)
printf(" ");
for (j = 0; j < 2 * (int)(s * 10); j++)
printf("*");
}
else
{
for (j = 0; j < 2 * (int)((s + 1) * 10) - 1; j++)
printf("*");
}
printf("\n");
}
}
ㅋㅋ
❤+❤+❤+❤+❤+❤+❤+
칸맞추는거 장인이시네 - DCW