![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
每日代码
Moyisu
这个作者很懒,什么都没留下…
展开
-
每日代码
#include<stdio.h> int main() { int q[10]={4,91,51,2,32,58,7,172,88,14}; intp=q; int m,j=1,n=10; for( m=n-1;(m>=1)&&(j==1);m–) { j=0; for(int i=0;i<m;i++) if((p+i)>(p+i+1)) { int t; t=(p+i); (p+i)=(p+i+1); *(p+i+1)=t; j=1; } } retur原创 2020-10-08 17:11:18 · 181 阅读 · 0 评论 -
每日代码1
#include<stdio.h> int main(void) { float a,b,c,w,y,z; a=b=c=0; float num , A,B,C; char ch; printf(“Please enter letter to buy things(q to quit):\n”); printf(" letter:a b c \n thing :YJ TC HLB \nprice(perB):2.05 1.15 1.09\n"); pr原创 2020-10-03 21:43:57 · 145 阅读 · 1 评论