C++ programming a. C++ is known to be an object-oriented program. Objects are also known to exist in real life. You have been invited as a computer science student to distinguish between real life objects and object found in object oriented program OOP. b. Write an OOP to compare the risk factor that will lead to high payment of life insurance premium. The variables to consider are: age, weight, and height 1. The program should request for the variables to be inputted from the keyboard. 2. Premium should be high if age is greater than or equal to 60 years and weight is greater than or equal 80kg and has greater than or equal 6.8feet. Otherwise the premium should be low. 3. Critically explain how the program could be adopted by allied companies for their operations.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter12: Adding Functionality To Your Classes
Section: Chapter Questions
Problem 1PP
icon
Related questions
Question

C++ programming

a. C++ is known to be an object-oriented program. Objects are also known to exist in real life. You have been invited as a computer science student to distinguish between real life objects and object found in object oriented program OOP.

b. Write an OOP to compare the risk factor that will lead to high payment of life insurance premium. The variables to consider are: age, weight, and height

1. The program should request for the variables to be inputted from the keyboard.

2. Premium should be high if age is greater than or equal to 60 years and weight is greater than or equal 80kg and has greater than or equal 6.8feet. Otherwise the premium should be low.

3. Critically explain how the program could be adopted by allied
companies for their operations.

Expert Solution
steps

Step by step

Solved in 5 steps with 1 images

Blurred answer
Knowledge Booster
Data members
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning