Where weight is the person’s weight in grams and height is their height in centimeters. If the result of this calculation is less that 20, then the person is medically underweight. If the result is greater than 30 then the person is medically overweight. Write a program to calculate whether a given person is underweight or overweight.
andersonelnino 0 Newbie Poster
Recommended Answers
Jump to PostJava names are case-sensitive. Method names in the API begin with a lower case letter. Check your method names for capital vs lower case against the API reference.
Jump to Postits still the same...can you run it on your laptop..thanks and checked it for me...
yep, your code runs just fine, you just need to use the correct upper and lower cases, as was suggested earlier.
Jump to Post@andersonelnino DO NOT create multiple posts with same question, just because you are not getting answer fast enough. This is not 24/7 support for lazy students
For these wishing to follow this "enlightening" discussion can do so here.
Thread closed.
All 10 Replies
NormR1 563 Posting Sage Team Colleague
andersonelnino 0 Newbie Poster
NormR1 563 Posting Sage Team Colleague
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
andersonelnino 0 Newbie Poster
NormR1 563 Posting Sage Team Colleague
stultuske 1,116 Posting Maven Featured Poster
sirlink99 56 Practically a Master Poster
NormR1 commented: Why do the OPs homework? -3
andersonelnino 0 Newbie Poster
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.