1. 1.
    0
    #include<iostream>
    using namespace std;
    struct Distance
    {
    int feet;
    float inches;
    };
    void engldisp(Distance);
    int main()
    {
    Distance d1,d2;
    cout<<"Enter feet :";
    cin>>d1.feet;
    cout<<"Enter inches : ";
    cin>>d1.inches;

    cout<<"nEnter feet :";
    cin>>d2.feet;
    cout<<"Enter inches :";
    cin>>d2.inches;
    cout<<"nd1 = ";
    engldisp(d1);
    cout<<"nd2 = ";
    engldisp(d2);
    cout<<endl;
    return 0;
    }
    void engldisp(Distance dd)
    {
    cout<<dd.feet <<"'-"<<dd.inches<<""";
    }

    //zütünüze girsin bu kod dıbına kodumun abazaları
    ···
  2. 2.
    0
    @1 c++ terk
    ···
  3. 3.
    0
    #include<iostream>
    using namespace std;
    unsigned long factfunc(unsigned long);

    int main()
    {
    int n;
    unsigned long fact;
    cout<<"Enter an integer ";
    cin>>n;
    fact=factfunc(n);
    cout<<"factorial of "<<n<<" is "<<fact<<endl;
    }
    unsigned long factfunc(unsigned long n)
    {

    if(n>1)
    return n*factfunc(n-1);
    else
    return 1;

    }

    //@2 bu kod zütüne kremle girsin
    ···