#include <stdio.h>
int main() {
printf("我在杭七中祝金老师生日快乐\n\n");
// 练习一下循环的使用
int i;
for (i=1; i<=10; i++) {
printf("金老师节日快乐 %d 解放路数学组\n", i);
}
printf("\n\n金老师最帅!:");
for (float y = 1.5f; y > -1.5f; y -= 0.1f) {
for (float x = -1.5f; x < 1.5f; x += 0.05f) {
float a = x * x + y * y - 1;
putchar(a * a * a - x * x * y * y * y <= 0.0f ? '*' : ' ');
}
putchar('\n');
}
return 0;
}