会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
2948141372xyc
博客园
首页
新随笔
联系
订阅
管理
2022年9月28日
爱心
摘要: #include <stdio.h>#include <stdlib.h>#include <windows.h> int main(){ float x,y,a; for(y=1.5;y>-1.5;y-=0.1) { for(x=-1.5;x<1.5;x+=0.05) { a=x*x+y*y-1;
阅读全文
posted @ 2022-09-28 17:39 山川曜星空
阅读(71)
评论(0)
推荐(0)
2022年9月27日
走迷宫
摘要: #include<stdio.h>#include<stdlib.h>#include<windows.h>int main(void){ char a[50][50]={"######", "#O#", "# ## ##", "## #", "#########", }; int i,x,y,p,
阅读全文
posted @ 2022-09-27 17:35 山川曜星空
阅读(9)
评论(0)
推荐(0)
看不懂(2)啊哈C第七章第七节
摘要: #include<string.h>#include<stdio.h>#include<stdlib.h>int main(void){ char a[5][11],t[11]; int i,j; for(i=0;i<=4;i++) { gets(a[i]); for(i=0;i<=3;i++) {
阅读全文
posted @ 2022-09-27 15:23 山川曜星空
阅读(18)
评论(0)
推荐(0)
看不懂(1)
摘要: #include<string.h>#include<stdio.h>#include<stdlib.h>int main(void){ char a[101],t; int len,i,j; gets(a); len=strlen(a); for(i=0;i<=len-2;i++) { for(j
阅读全文
posted @ 2022-09-27 14:33 山川曜星空
阅读(8)
评论(1)
推荐(0)
2022年9月26日
有问题为什么需要多申请一个地址????
摘要: #include<stdio.h>#include<stdlib.h>int main(void){ int a[4],i,t,j; for(i=0;i<=4;i++) scanf("%d",&a[i]); for(i=0;i<=4;i++) { for(t=i+1;t<=4;t++) { if(a
阅读全文
posted @ 2022-09-26 18:37 山川曜星空
阅读(9)
评论(0)
推荐(0)
倒序输出
摘要: #include<stdio.h>#include<stdlib.h>int main(void){ int a[5],i,t,j; for(i=0;i<=4;i++) scanf("%d",&a[i]); for(i=0;i<=4;i++) { for(t=i+1;t<=4;t++) { if(a
阅读全文
posted @ 2022-09-26 18:25 山川曜星空
阅读(7)
评论(1)
推荐(0)
2022年9月25日
陶陶摘苹果
摘要: #include<stdio.h>#include<stdlib.h>int main(void){ int sum,h,a[10],i; sum=0; printf("请分别输入10个苹果的高度"); for(i=0;i<=9;i++) scanf("%d",&a[i]); printf("请输入
阅读全文
posted @ 2022-09-25 11:13 山川曜星空
阅读(10)
评论(0)
推荐(0)
2022年9月24日
求Π(注意占位符,不要搞错)
摘要: #include<stdio.h>#include<stdlib.h>int main(void){ int i,de,fuhao,n; /*de表示分母,fuhao表示正负*/ double sum,item; sum=0; de=1; fuhao=1; item=1; printf("请输入累加
阅读全文
posted @ 2022-09-24 07:45 山川曜星空
阅读(8)
评论(0)
推荐(0)
2022年9月23日
100猜数
摘要: #include<stdio.h>#include<stdlib.h>int main(void){ int a,b,sum; sum=20; srand((unsigned)time(NULL)); a=rand()%100; while(1) { sum--; scanf("%d",&b); i
阅读全文
posted @ 2022-09-23 21:27 山川曜星空
阅读(12)
评论(0)
推荐(0)
ABCD*E=DCBA
摘要: #include<stdio.h>#include<stdlib.h>int main(void){ int a,b,c,d,e; for(a=0;a<=9;a++) { for(b=0;b<=9;b++) { for(c=0;c<=9;c++) { for(d=0;d<=9;d++) { for(
阅读全文
posted @ 2022-09-23 21:13 山川曜星空
阅读(76)
评论(0)
推荐(0)
下一页
公告