a876094033 发表于 2014-10-8 21:13:47

看看

燕子小c我爱你 发表于 2014-10-8 21:54:13

求代码啊啊

gyl 发表于 2014-10-10 15:57:37

过来好好学习

wcm 发表于 2014-10-19 10:05:16

学习了

ilboyvm 发表于 2014-10-19 10:08:43


多谢提供分享   ~

willy8216 发表于 2014-10-19 20:09:41

多谢提供分享   ~

liu71 发表于 2014-10-20 21:33:25


看看能不能中奖。。。

为了家人。 发表于 2014-10-21 02:09:52

:handshake:handshake:handshake:handshake:handshake

c806375 发表于 2014-10-21 04:00:57

学习学习

z294354069 发表于 2014-10-21 09:39:24

good

xiawb 发表于 2014-10-21 09:52:48

本帖最后由 xiawb 于 2014-10-21 10:19 编辑

我怎么感觉第一题是让我改错啊?

#include <stdio.h>

void rest(int *a, int b)
{
        int i, temp, n;
        for(i=0;i<b-1;i++)
        {
                for(n=0;n<b-i-1;n++)
                {
                        if(a > a)
                        {
                                temp = a;
                                a = a;
                                a = temp;
                        }
                }
        }
        for(i=0;i<b;i++)
        {
                printf("%2d", a);
        }
        puts("");
}
void main()
{
        int i;
        int a;
        printf("请输入8个大小不同的整数:\n");

        for(i=0;i<8;i++)
        {
                scanf("%d",&a);
        }
        printf("排列之后的整数\"由小到大\"\n");
    rest(a,8);
}

xuquanwei 发表于 2014-10-21 11:32:36

回个 贴,支持下

重眉々碎步 发表于 2014-10-22 10:39:01

靠靠靠靠靠靠靠靠靠靠靠靠靠靠靠靠靠靠靠

hallo,world 发表于 2014-10-22 12:43:02

{:9_241:}

Adele-_Someone_ 发表于 2014-10-23 13:45:27

发达国北方的股份的大哥大哥

fantasy 发表于 2014-10-23 19:14:28

还能领奖???

woainigui8888 发表于 2014-10-23 21:52:06

:funk:

风雪幻林 发表于 2014-10-23 23:11:45

谢谢分享

xiaohai405 发表于 2014-10-24 13:23:21

好东西

Answer.zhang 发表于 2014-10-24 15:20:06

o(∩∩)o...哈哈,多谢分享!
页: 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 16 17 18
查看完整版本: 很好的C语言进阶书籍,不好你打我。