王昊天吧 关注:78贴子:1,262
  • 4回复贴,共1

这个贴吧已经没人了么

只看楼主收藏回复

如题


来自iPhone客户端1楼2015-08-23 15:26回复
    我下午3.半签到告诉我是第二个签到的


    来自iPhone客户端2楼2015-08-23 15:27
    回复
      广告
      立即查看
      #include<stdio.h>
      int f(int n,int k)
      { int i;
      for(i=1;i<k;i++)n=n/10;
      return n%10;
      }
      void main()
      { int a,int b,int t;
      scanf("%d%d",&a,&b);
      t=f(a,b);
      printf("%d\n",t);
      }


      来自Android客户端3楼2016-05-21 19:43
      回复
        #include<stdio.h>
        float f(float a, float b, float c)
        { float max;
        max=(max=a>b?a:b)>c?max:c;
        return max;
        }
        void main ()
        { float t;
        t=0;
        t=f(5,3,455);
        printf("最大值为%f\n",t);
        }


        来自Android客户端4楼2016-05-21 19:44
        回复
          #include<stdio.h>
          void f(int x,int y)
          { int a=x;
          while (a%y!=0)a+=x;
          printf("最小公倍数%d,最大公约数%d\n",a,x*y/a);
          }
          void main()
          { int a,int b;
          a=40,b=35;
          f(a,b);
          }


          来自Android客户端5楼2016-05-21 19:45
          回复