Design a modularized Body Mass Index (BMI) Program which will calculate the BMI of a team player. The formula to calculate the BMI is as follows:
BMI = Weight * 703/Height2
Your program design should contain the following:
- A method to obtain the weight of a player
- A method to obtain the height of a player
- A method to calculate the BMI of a player
- A method to display the calculated BMI
- A main method