Navya Sanal 5a2264ce20 Committing metric conversion 6 anos atrás
.DS_Store initial commit 6 anos atrás
ConversionTool.class Committing metric conversion 6 anos atrás
ConversionTool.ctxt Committing metric conversion 6 anos atrás
ConversionTool.java Committing metric conversion 6 anos atrás
ConversionToolSpec.class Committing metric conversion 6 anos atrás
ConversionToolSpec.ctxt Committing metric conversion 6 anos atrás
ConversionToolSpec.java initial commit 6 anos atrás
README.md initial commit 6 anos atrás
package.bluej Committing metric conversion 6 anos atrás

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