Question

In: Computer Science

Many financial experts advise that property owners should insure their homes or buildings for at least 80 percent of the amount it would cost to replace the structure.

Programming exercise -Chapter 3- Modules

#3-121

How much insurance?

Many financial experts advise that property owners should insure their homes or buildings for at least 80 percent of the amount it would cost to replace the structure. Design a modular program that asks the user to enter the replacement cot of a building and then displays the minimum amount of insurance he or she should buy for the property.

USE Pseudocode programming language

Solutions

Expert Solution

BEGIN
   DECLARE TOTAL_AMOUNT,INSURANCE_RECOVER;
   //reading total amount
   OUTPUT "ENTER TOTAL AMOUNT"
   INPUT TOTAL_AMOUNT
   //extracting 80% from that
   INSURANCE_RECOVER = TOTAL_AMOUNT * 0.8
   OUTPUT : INSURANCE_RECOVER
END


Related Solutions

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT