Professional Documents
Culture Documents
Write a Java application called CalcApp (with a main() method), and an additional class called
Calculator. The Calculator class will be an engine with many methods (some overloaded from
others) to perform various arithmetic and calculating tasks. You can instantiate one object in
main() to perform all of the functions by calling for example:
Alternatively, you can put main() into the class, but a separate application class with main() is
recommended. All methods you create should start with lowercase, except the constructors.
The void ascii() method will need to call a method you create called binary() to generate a
binary number from the ASCII code.
j. A void conversion() method with a menu which will prompt the user to convert an
inputted value from the following list of options:
volume (CI to CC)
length (feet to meters)
weight (lbs to kg)
temperature (F to C).
Required Output: Generate output samples demonstrating all of your member functions,
adequately testing them and showing their functionality (i.e. inputting values, outputting
values (displaying them), performing calculations, etc.).