Program 1 - Simple Computing

Goal Description Hints Passoff

Due Date - 19 Jan

Goal

 
  • To learn how to create and run a Java program.
  • To get a basic program up and working.
  • To learn basic arithmetic
  CS 142
Description
 
You should ask the user for a wieght in pounds. You should convert pounds to kilograms and then tell the user the weight in kilograms.
Hints
 
  • The HelloWorld and ComputeWages programs are good examples to work from.
  • To convert pounds to kilograms, multiply by 0.45359237
Passoff
 

For passoff instructions see the CS 142 home page.

__ 3) The program works correctly

__ 1) The source code is indented correctly and neatly

__ 1) All variables have good meaningful names and follow appropriate naming conventions.