0

Anyone thant can help me in mu java codes

10th Dec 2019, 1:50 PM
Sau Cyy
Sau Cyy - avatar
6 ответов
+ 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
11th Dec 2019, 11:50 AM
GAWEN STEASY
GAWEN STEASY - avatar
+ 7
Sau Cyy share the link of code with this post so we can review the code and give you appropriate hints
10th Dec 2019, 2:01 PM
GAWEN STEASY
GAWEN STEASY - avatar
+ 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
10th Dec 2019, 2:12 PM
GAWEN STEASY
GAWEN STEASY - avatar
0
the codes is not complet thats why i cannot run mu code fastly
10th Dec 2019, 2:11 PM
Sau Cyy
Sau Cyy - avatar
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); } }
10th Dec 2019, 2:14 PM
Sau Cyy
Sau Cyy - avatar