Question: CIT- Homework #2 After program is made run on the website https://www.jdoodle.com/online-java-compiler/ Problem 2: A simple rule to estimate your ideal body weight is to

CIT- Homework #2 After program is made run on the website https://www.jdoodle.com/online-java-compiler/ CIT- Homework #2 After program is made run on the website https://www.jdoodle.com/online-java-compiler/

Problem 2: A simple rule to estimate your ideal body weight is to allow 110 pounds for the first 5 feet of height and 5 pounds for each additional inch. Document an algorithm (see instructor handout) with a variable for the height of a person in feet and another variable for the additional inches. For example, a person that is 6 feet and 3 inches tall would be represented with a variable that stores the number 6 and another variable that stores the number 3. Based on these values, manually calculate and determine the ideal body weight. (This is the same problem used in Homework #1.) Develop a Java program that accomplishes your algorithm that involves user input for the height in feet and inches. Include appropriate comments such as the problem number, your name, and the class at the beginning of the program, and any other comments as needed to explain the algorithm and translation into Java statements. NOTE: If you want to adjust your algorithm to address comments received from Homework #1, revise your documentation and resubmit the algorithm file to HW #1 on Blackboard as a Word or PDF file for additional credit consideration. Submit your Java source code via Blackboard for this problem. Be sure that your Java source code compiles cleanly or you will receive no credit

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!