搜索

我糊涂了

查看数: 894 | 评论数: 7 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2013-12-26 21:22

正文摘要:

#include <stdio.h> #include <stdlib.h> int main() {int a,b,c,d;      a=10;   b=5;      d=a-b;      c=a+b;   & ...

回复

baibian11 发表于 2014-2-14 14:28:43
#include <stdio.h>
#include <stdlib.h>
int main()
{
        int a,b,c,d;
    a=10;
    b=5;
    d=a-b;
    c=a+b;
    printf("%d-%d=%d\n",a,b,d);         你这里填写的最后是C
    printf("%d+%d=%d\n",a,b,c);         这里最后是d  算出来的当然不一样   
   
        system("pause");
        return 0;
}
jak 发表于 2014-1-14 16:52:19

#include <stdio.h>
#include <stdlib.h>
int main()
{int a,b,c,d;
     a=10;
  b=5;
     d=a-b;
     c=a+b;
     
   
      
     printf("%d-%d=%d\n",a,b,d);
      printf("%d+%d=%d",a,b,c);
   
      
  system("pause");   
    return 0;
谁谓尔能舞 发表于 2014-1-13 16:47:53
改成这个:
#include <stdio.h>
#include <stdlib.h>
int main()
{int a,b,c,d;
     a=10;
  b=5;
     d=a-b;
     c=a+b;
     
   
      
     printf("%d-%d=%d\n",a,b,d);
      printf("%d+%d=%d",a,b,c);
   
      
  system("pause");   
    return 0;
}
cad20020601 发表于 2014-1-8 21:02:17
好吧你赢了。。
cad20020601 发表于 2014-1-8 21:02:06
这是在灌水么?
rosynirvana 发表于 2013-12-26 22:33:13
稍微想一下就能知道c, d写反位置了吧……
超神级 发表于 2013-12-26 21:55:51
printf("%d-%d=%d\n",a,b,c);c=a+b
//
printf("%d+%d=%d",a,b,d);  d=a-b;
   
快速回复 返回顶部 返回列表