Purchase Solution

Java Application Converting Dollars to Euros

Not what you're looking for?

Ask Custom Question

I need help with this:

Help with writing an application that converts U.S. dollar values to euro values. The application should have methods for getting user input and doing the conversio ...there is moreshow problemI need help with this:

Help with writing an application that converts U.S. dollar values to euro values. The application should have methods for getting user input and doing the conversion. The application should first ask the user for the current exchange rate between the U.S. dollar and euro. It then asks for a dollar amount and displays the euro amount. It will continue until the user enters $0. The application will trap for any negative dollar values and allow the user to re-enter until they give a non-negative value. You are given the application file and are required to develop the EuroConverter class. Notice that not all methods will be used in actual application, however we want to always design robust classes. EuroConverter UML is as follows:

EuroConverter
------------------
- _conversionRate : double
------------------
+ EuroConverter(initialRate : double)
+ convertToEuros(dollars : double) : double
+ getConversionRate() : double
+ setConversionRatre(newRate : double)

Download Conversion Application that I uploaded.

I also need you to let me know what changes you made to the code in order to get it too work.

I am using JCReator as my program. Thanks!!

Purchase this Solution

Solution Summary

The expert examines Java applications to convert dollars to euros.

Purchase this Solution


Free BrainMass Quizzes
Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Basic Networking Questions

This quiz consists of some basic networking questions.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

C++ Operators

This quiz tests a student's knowledge about C++ operators.