The language is Scheme
Returns the average profit (per items sold) for a given province.
Returned orders (whose order numbers are listed in the returns list) should not be included in this calculation.
(define (averageProfitProv prov sales returns)
; TODO: Fill this in
0 ; stub -- modify it accordingly
)
Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!
(Save $1 )
One time Pay
(Save $5 )
Billed Monthly
*First month only
You can see the logs in the Dashboard.