Write a program in C to calculate the insurance premium for a building. There are 2 types of buildings, domestic houses and commercial premises. The premium charged on each type of premise depends on the following: 1. Type of building being insured, 2. Amount insured, 3. Number of previous claims, and 4. Each premise has a fixed processing charge depending on the type of building. 5. The appropriate rates and charges are summarized below (Note that the amount insured is always a multiple of $1000):- a. Domestic House:- i. Customers are charged 0.3% of the amount insured, where the insured amount is less than $100,000, and 0.25% for other amounts equal to or over $100,000. E.g. If a customer has an insured amount of $150,000, they will be charged 0.3% for the first $100,000 and 0.25% for $50,000. 2 ii. Customers that have zero claims receive a 10% reduction in their total premium as a no claim bonus. iii. Processing charge is $50 for all domestic houses. b. Commercial premise:- i. All commercial applicants are charged 0.5% of the amount insured where the insured amount is less than $250,000, and 0.75% for amounts equal to or over $250,000. E.g. If a customer has an insured amount of $300,000, they will be charged 0.5% for the first $250,000 and 0.75% for $50,000. ii. Customers that have zero claims receive a 15% reduction in their total premium as a no claim bonus. iii. Processing charge is $80 for all commercial premises. 6. The program is to contain at least 2 additional functions {to that of main(void)} and each must be an essential and integral component of the program design and perform some useful function,