GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing raw.githubusercontent.com — raw.githubusercontent.com

public class BMI extends GaddisChallenges { private double userWeight; //pounds private double userHeight; //inches private double userBmi; private String weightStatus; public void start() { collectInfo(); userBmi = userWeight * 703/(userHeight * userHeight); if (userBmi >= 18.5 && userBmi < 25) { weightStatus = "optimal"; } else if (userBmi < 18.5) { weightStatus = "underweight"; } else if (userBmi > 25) { weightStatus = "overweight"; } print("Based on your height and weight, your BMI is " + userBmi + " so your weight is " + weightStatus); } private void collectInfo() { print("What is your height? "); userHeight = scan.nextDouble(); print("What is your weight? "); userWeight = scan.nextDouble(); } }
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.