杨振扬吧 关注:5贴子:71
  • 1回复贴,共1


IP属地:广东1楼2011-12-14 18:21回复
    #include<iostream.h>
    int a(int a,int b)
    void main()
    {
    int a,b,s;
    cout <<"请输入两个整数,本程序将为你计算他们的公约数"<< endl;
    cin >> a,b;
    s=a(a,b);
    cout<<"这两个数的最大公约数是:"<<s;
    }
    int a(int a,int b)
    {
    if()
    }


    IP属地:广东2楼2011-12-15 09:18
    回复