摘要:
#include int main()//1.比较三个数大小(从小到大排序) { int a,b,c,d=0; printf("请输入三个数\n"); scanf("%d%d%d",&a,&b,&c); if(a>b) { d = a; a = b; b = d; } if(b>c) { d = b; b = c; c ... 阅读全文
posted @ 2016-11-30 02:11
裏表ラバーズ
阅读(158)
评论(0)
推荐(0)
摘要:
#include #include #include int main() { printf("请猜一个整数\n你的猜测是:"); int predefined=rand()%100; int a; scanf("%d",&a); int b; for(b=1;b int main() //最大公约数和最小公倍数 { int ... 阅读全文
posted @ 2016-11-30 02:10
裏表ラバーズ
阅读(163)
评论(0)
推荐(0)
摘要:
#include//1.三角形 int main() { printf("*\n"); printf("**\n"); printf("***\n"); printf("****\n"); printf("*****\n"); printf("******\n"); printf("*******\n"); printf(... 阅读全文
posted @ 2016-11-30 02:09
裏表ラバーズ
阅读(160)
评论(0)
推荐(0)