#include <iostream>

using namespace std;

struct ville{
    int residential,
        commercial,
        industrial,
        exploitation,
        transportation;
    float txProperty,
          txPS,
          txLabor,
          txEnv;
    int spHealth,
        spEduc,
        spPolice,
        spEnv,
        spSocial;
    int population,
        stock,
        fund;
};

ville make()
{
    ville nu;
    nu.residential=
    nu.commercial=
    nu.industrial=
    nu.exploitation=
    nu.transportation=
    nu.txProperty=
    nu.txPS,
    nu.txLabor=
    nu.txEnv=
    nu.spHealth=
    nu.spEduc=
    nu.spPolice=
    nu.spEnv=
    nu.spSocial=
    nu.population=
    nu.stock=0;
    nu.fund = 100;
    return nu;
}

void show(ville it)
{
    cout << "\n\ncity state\n"
         << "\nfund : " << it.fund
         << "\npopulation : " << it.population
         << "\n stock : " << it.stock
         << "\n\nresidential " << it.residential
         << "\ncommercila " << it.commercial
         << "\nindustrial " << it.industrial
         << "\ntransportation " << it.transportation
         << "\nexploitation " << it.exploitation
         << "\n\n";
}

int tax(ville it)
{
    int tx = it.residential * it.txProperty +
             it.industrial * it.txEnv +
             it.commercial * it.txPS + 
             it.exploitation * it.txEnv + 
             it.population * it.txLabor;
    cout << "\ntax collected " << tx;
    return tx;
}

//int trade(ville it)
//{
//    int tr = it.population +
//             it.transportation -
//             
//}

int main()
{
    ville V = make();
    V.residential = 4;
    V.commercial = 1;
    V.industrial = 1;
    V.exploitation = 1;
    V.txProperty = 0.25;
    
    
    tax(V);
    show(V);
    return 0;
}
