shakila dd06029e42 Completed 6 gadus atpakaļ
.DS_Store initial commit 6 gadus atpakaļ
ConversionTool.class Completed 6 gadus atpakaļ
ConversionTool.ctxt Completed 6 gadus atpakaļ
ConversionTool.java Completed 6 gadus atpakaļ
ConversionToolSpec.class Completed 6 gadus atpakaļ
ConversionToolSpec.ctxt Completed 6 gadus atpakaļ
ConversionToolSpec.java initial commit 6 gadus atpakaļ
README.md initial commit 6 gadus atpakaļ
package.bluej Completed 6 gadus atpakaļ

README.md

Conversion Tool

This tool converts different units of measure. Methods have been stubbed out to convert the following:

  • Centimeters <-> Inches
  • Feet <-> Meters
  • Celcius <-> Fahrenheit
  • MPH <-> KPH

This tool should only convert positive numbers. Any negative numbers that are passed should return 0 (This excludes temperature conversions, negative values can be converted)

Complete the implementation so that all test pass


This lab covers the following competencies:

  • Variable instaniation
  • Constants
  • Order of operations
  • Conditionals
  • Block scope
  • Floating point arithmatic