Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C++ Programming. Need help A multinational company in Kuala Lumpur assigned you to write a computer program to advise all employees to determine their retirement
C++ Programming. Need help
A multinational company in Kuala Lumpur assigned you to write a computer program to advise all employees to determine their retirement age based on the Body Mass Index (BMI) and Mortality Predictor (MP). The BMI is calculated based on following formula: BMI = weight(kg) height(m) x height(m) The MP is calculated based on condition in Table 3 BMI >30 Age Gender MP Status M 40 F Table 3 $30 Only employee with MP status 'A' and 'B' is advised to retire at 60 and those with MP status 'C must choose to retire at 55. Write a complete C++ program to perform the following tasks: 1. Receive input of weight, age, height and gender 2. Calculate the BMI 3. Determine the MP_status 4. Display the message "retire at 60" or "retire at 55" based on MP status 5. Repeat the process until the user does not wish to continue. (15 marks)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started