Eric Foster 4668dd26d0 completed lab 6 gadus atpakaļ
.DS_Store initial commit 6 gadus atpakaļ
ConversionTool.class completed lab 6 gadus atpakaļ
ConversionTool.ctxt completed lab 6 gadus atpakaļ
ConversionTool.java completed lab 6 gadus atpakaļ
ConversionToolSpec.class completed lab 6 gadus atpakaļ
ConversionToolSpec.ctxt completed lab 6 gadus atpakaļ
ConversionToolSpec.java initial commit 6 gadus atpakaļ
README.md initial commit 6 gadus atpakaļ
package.bluej completed lab 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