PYTHON ONLY
10/25/22, 12:59 PM20221024165945screen_shot_2022_10_24_at_9.59.36_am.png 2,624×826 pixels
Page 1 of 1https://www.studypool.com/uploads/questions/537023/20221024165945screen_shot_2022_10_24_at_9.59.36_am.png
5.CreateaprojectcalledContractorCalculator.
•TheviewcontrollerlayoutshouldcontaintwoTextFields,onebutton,andeightlabels(Figure10.27).
9:41
Labor:
Materials:
Calculate
SubTotal:
Tax:
Total:
Label
Label
Label
Figure10.27ContractorCalculatorinterface
•TheCalculatebuttonshouldaddthelaborandmaterialcostsfromtheTextFieldsandputtheresultinthelabelnexttoSubTotal.Taxshouldbecalculated anddisplayedinthelabelnexttoTax.ThetaxandsubtotalshouldbeaddedtogetheranddisplayedinthelabelnexttoTotal.