0
Anyone thant can help me in mu java codes
6 Respostas
+ 6
Sau Cyy
Your code is fine but you need to do some calculations on how inch to fret and weight are calculated.
The second thing you need to call all methods in the main function for their working.
https://code.sololearn.com/czV4c0dH8cBO/?ref=app
+ 7
Sau Cyy share the link of code with this post so we can review the code and give you appropriate hints
+ 7
Copy the code in code playground of sololearn and paste the link of code here.
On drive I'm unable to access the code might you didn't see permission to be public
0
the codes is not complet thats why i cannot run mu code fastly
0
class lab07_longakit {
// declare the attributes
double height, weight;
// declare the constructor
public void (double weight, double height)
{
this.weight = weight;
this.height = height;
}
/* use this method to compute the BMI for that person
* PRE-Condition :
* POST-Condition :
*/
public void calculate() {
this.weight = weight / (height*height);
}
public boolean isOverweight(){
return (weight > 25);
}
}