HELLO EVERYONE,
I NEED HELP WITH THIS QUESTION
WE NEED TO DECLARE DATA TYPE IN THIS TOO.
IF ANYONE CAN EXPLAIN OR SHOW ME A TEMPLATE ON HOW IT COULD BE DONE THEN THAT WILL BE VERY HELPFUL.
THANK YOU
A company provides home insurance for residential customers. The basic cost of home insurance is a fixed price of £50 per month. However the premium is discounted based on the following four factors. Burglar alarm installed: 2.5% reduction Window locks installed: 1% reduction Window bars installed: 2% reduction Note that the final price is subject to 20% VAT. Note that insurance can be paid in a one-off payment, or by monthly direct debit. If the customer chooses to pay by one-off payment, then there is a 2% discount on the premium. Create a program that prompts the user to whether they have a burglar alarm, window locks, etc., then prompts the user to state their preferred payment method. The program should then calculate and display the customer’s monthly home insurance premium on the screen. What you will need to complete this task. IF/ELSE statements Make sure you identify and declare all required variables and constants. Also, initialize any variables and/or constants that need initializing. Output: “Your calculated home insurance premium is £ [insurance premium]