Home / Expert Answers / Computer Science / embassy-expenses-calculation-the-government-of-south-africa-requires-a-program-to-compute-the-annual-pa249

(Solved): Embassy Expenses calculation The government of South Africa requires a program to compute the annual ...



Embassy Expenses calculation
The government of South Africa requires a program to compute the annual cost of an embassy in a foreign country.
They have approached you as a developer to develop this program.
The program must initially input the following values per embassy in each country: monthly salary amount for all staff added together, monthly electricity bill, weekly entertainment allowance, annual building maintenance and the annual security cost. The government of South Africa wants to know how many embassies cost them over R3 000 000 a year.
At the end of processing, the government also wants an average figure on the annual cost of running an embassy.
Processing continues until a country of "ZZZ" is entered.
Write a Python program for the government of South Africa using the information provided in the scenario above.
Refer to the Appendix for the example of possible input/output.



We have an Answer from Expert

View Expert Answer

Expert Answer


Python program that calculates the annual cost of an embassy in a foreign country, based on the inputs provided by the user:# Initialize variablestota
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe