Explore BrainMass
Share

Explore BrainMass

    Temperature conversion Java Application

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    I need help with putting this application together:

    Exercise 6.22:

    Implement the following integer methods:

    a.) Method Celsius returns the Celsius equivalent of a Fahrenheit temperature, using the calculation
    Celsius = 5.0 / 9.0 * ( Fahrenheit - 32 );

    b.) Method Fahrenheit returns the Fahrenheit equivalent of a Celsius temperature, using the calculation
    Fahrenheit = 9.0 / 5.0 * Celsius + 32;

    c.) Use the methods from parts (a) and (b) to write an application that enables the user either to enter a Fahrenheit temperature and display the Celsius temperature and display the Fahrenheit equivalent.

    © BrainMass Inc. brainmass.com October 9, 2019, 11:21 pm ad1c9bdddf
    https://brainmass.com/computer-science/java/temperature-conversion-java-application-254036

    Solution Preview

    Hello,

    I am attaching three files. The first two are .Java files: Convert.java and ConvertTest.java

    The other file ...

    Solution Summary

    This solution provides a Java application to perform temperature conversion from fahrenheit to celsius and vice versa.

    $2.19