2 #include "../firm_agent_header.h"
3 #include "../library_header.h"
12 double price_difference, price;
23 printf(
"Firm ID = %d goes to housing market with %d housing units to sell. \n",
ID,
INVENTORY);
37 double sale_unit_price, sales_income;
47 total_sold += n_sold_units;
50 SALES += n_sold_units;
53 sales_income = n_sold_units * sale_unit_price;
60 printf(
"Firm ID = %d has sold %d housing units at this round. \n",
ID, total_sold);