subject

a. Prompts user to enter the number of BFPs that need to be calculated (number of persons). (a int) b. Define and call a method to prompt user to enter name (a String). (10 points) c. Define and call a method to prompt user to enter gender (a int or String). (10 points) d. Define and call a method to prompt user to enter age (a int). (10 points) e. Define and call a method to prompt user to enter BMI (a double). (10 points) f. Define and call a method to calculate one BFP using the given formula and values (arithmetic expressions). (15 points) g. Print out name, age, gender, BMI, BFP of each person. (5 points) h. Save BFP values in a double array. (10 points) i. Define and call a method to calculate and print the average BFP value of the above double array.(20 points) j. Include the following methods in your application, and call/invoke those methods in the main method. public static String getName( ); public static String getGender( ); or public int getGender ( ); public static int getAge( ); public static double getBMI ( ); public static double calculateBFP (int gender, int age, double bmi); public static double calculateAverage (double[] bfpArray);

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:00
Which option should u select to ignore all tracked changes in a document
Answers: 1
question
Computers and Technology, 22.06.2019 17:30
The forerunner to cell phones, pdas, and smartphones was
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Kto rozmawia z clamentain przez krótkofalówke w the walking dead która śledzi lee w 4 epizodzie
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
Alex’s family members live in different parts of the world. they would like to discuss the wedding plans of one of their distant relatives. however, alex wants all the family members to talk to each other simultaneously so that they can make decisions quickly. which mode of internet communication should they use? a. blog b. email c. wiki d. message board e. instant messaging
Answers: 2
You know the right answer?
a. Prompts user to enter the number of BFPs that need to be calculated (number of persons). (a int)...
Questions
question
Arts, 11.01.2021 20:20
question
Chemistry, 11.01.2021 20:20
question
SAT, 11.01.2021 20:20
question
Geography, 11.01.2021 20:20
question
Mathematics, 11.01.2021 20:20
question
Mathematics, 11.01.2021 20:20
question
History, 11.01.2021 20:20
Questions on the website: 13722367