Write a Java Applet (Note: Not Java Application).
Ask user enter the three pieces of information below and compute the result by using the following formula:
(1) Sex
(2) Age
(3) Weight
Formulas:
For men: 214 - (0.5*age)-(0.11*Weight)
For women: 226 - (0.5*age)-(0.11 * weight)
REMARKS: (1) HAS TO BE APPLET
(2) LAYOUT AS SIMPLE AS POSSIBLE