win-tc吧 关注:19贴子:100
  • 6回复贴,共1

帮帮忙大家,用TC编写一个,两个数相加减乘除的程序 谢谢大

只看楼主收藏回复

谢谢


来自手机贴吧1楼2011-12-20 11:41回复
    帮帮忙了大家


    来自手机贴吧2楼2011-12-20 11:43
    回复
      #include<stdio.h>
      main()
      {
      double a,b;
      double disc;
      printf( "请输入两个数字: ");
      scanf("%d %d",&a,&b);
      disc=a/b;
      printf( "%f\n",disc);
      }


      IP属地:福建来自Android客户端4楼2012-12-01 19:57
      回复
        #include<stdio.h>
        main()
        {
        double a,b;
        double disc;
        printf( "请输入两个数字: ");
        scanf("%d %d",&a,&b);
        printf("%f\n,a+b);
        }


        IP属地:福建5楼2013-01-27 22:50
        回复
          #include<stdio.h>
          main()
          {
          double a,b;
          double disc;
          printf( "请输入两个数字: ");
          scanf("%d %d",&a,&b);
          disc=a/b;
          printf( "%f\n",disc);
          }


          IP属地:湖南来自Android客户端6楼2013-02-19 09:18
          回复
            #include<stdio.h>
            main()
            {
            double a,b;
            double disc;
            printf( "请输入两个数字: ");
            scanf("%d %d",&a,&b);
            disc=a/b;
            printf( "%f\n",disc);
            }


            IP属地:湖南来自Android客户端7楼2013-02-24 12:21
            回复