Question
I'm working on one of my Programming 1 challenges it I got stuck on these following steps, could you please help me with coding it
I'm working on one of my Programming 1 challenges it I got stuck on these following steps, could you please help me with coding it without the rest of the code. If not just explain or give me an example of what I have to do. Thank you so much.
//Create a Person object and store it in the static variable, anyPerson <<<<<<<<<< what does that mean? //anyPerson = new ... anyPerson = new Person(firstName, height, weight); <<<<<<< is this right? } public static void displayBMI() { //Call the method in the anyPerson object that calculates BMI //Display the BMI of the anyPerson object.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started