- 博客(3)
- 收藏
- 关注
原创 求三角形的面积
/* Note:Your choice is C IDE / #include “stdio.h” #include “math.h” int main() {float a,b,c,p,s; printf(“从键盘输入三角形的三边长”); scanf("%f %f %f",&a,&b,&c); if((a+b>c)&&(b+c>a)&&...
2019-10-17 11:40:55
360
原创 三种方法输出2008年的月份·
一。 /* Note:Your choice is C IDE */ #include “stdio.h” int main() {int month; printf(“请输入月份:”); scanf("%d",&month); if(month1){printf(“2008年%d月31天”,month);} if(month2){printf(“2008年%d月29天”,month);}...
2019-10-17 10:12:56
222
原创 第一次写程序
/* Note:Your choice is C IDE / #include “stdio.h” void main() { printf(" ****** * * *****\n"); printf(" * * * * \n"); printf(" * * * * *\n"); printf(" * ...
2019-10-10 10:12:45
122
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人