Question: L8: Servlets In Class Lab Create a form named LorentzForm that: Prompt you input your First Name Prompt you to input your Last Name Prompt

L8: Servlets In Class Lab Create a form named LorentzForm that: Prompt you input your First Name Prompt you to input your Last Name Prompt you to input your Height Prompt you to input your Weight Prompt you to input your Gender 2. Create a Sevlet named LorentzServlet that: Captures the first name, last name, and height from the form. Displays the ideal weight with one of the following statements: Hello first_Name last_Name, you need to gain (lose) xxx kg OCalculates the ideal weight of your body by using the Lorentz formula (male or female) Lorentz Formula Example Weight Female [height (cm) - 100] - [height(cm) - 150] Last Name : Khan First Name : John Height-180, weight = 80 Kg, Gender = M Ideal Weight = (180-100)-(180-150)/4 = 72.5 kg 2.5 Weight Male [height (cm) - 100] - [height(cm) - 150] Output Hello John Khan, you need to lose 9.5 kg 4 Faculty of Applied Science and Technology L8: Servlets In Class Lab Create a form named LorentzForm that: Prompt you input your First Name Prompt you to input your Last Name Prompt you to input your Height Prompt you to input your Weight Prompt you to input your Gender 2. Create a Sevlet named LorentzServlet that: Captures the first name, last name, and height from the form. Displays the ideal weight with one of the following statements: Hello first_Name last_Name, you need to gain (lose) xxx kg OCalculates the ideal weight of your body by using the Lorentz formula (male or female) Lorentz Formula Example Weight Female [height (cm) - 100] - [height(cm) - 150] Last Name : Khan First Name : John Height-180, weight = 80 Kg, Gender = M Ideal Weight = (180-100)-(180-150)/4 = 72.5 kg 2.5 Weight Male [height (cm) - 100] - [height(cm) - 150] Output Hello John Khan, you need to lose 9.5 kg 4 Faculty of Applied Science and Technology

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!