Your Perfect Assignment is Just a Click Away

We Write Custom Academic Papers

100% Original, Plagiarism Free, Customized to your instructions!

glass
pen
clip
papers
heaphones

Currency Code Look Up Java

Currency Code Look Up Java

Review the section 8.6 – Array traversal
Using the provided Java program, complete the code to do the following:

The changes to the methods are listed in the comments above the method names.  
Modify the method findMyCurrency() to do the following:

          a. Use a do-while loop
         b. Prompt for a currency to find.  
         c. Inside this loop, call the lookUpCurrency() method can pass the inputed currency code value.
         d. The lookUpCurrency() method needs to loop through the list of currencies and compare the passed currency code with the currency code in the array. Display the results as in the example below.
              Look at the showCurrencies() method for a example of how to loop for each element.
              In the lookUpMyCurrency() method
                              If found – Display the currency code and index where it was found – i.e. “FJD found at index 0″.
                              If not found – Display the currency code and  ” Currency Code NOT found!”.  
            b. Prompt with “Retry Y/N ?” to try again. If I select N, then exit the loop.   Allow any other char to restart the loop and prompt for a currency to find.
Because you are comparing strings, remember to use the .equals method – not ==.
Enter a Currency Code to Find: USD
USD Currency code found at index _##__
Retry Y/N ? Y
Enter a Currency Code to Find: ZZZ
ZZZ Currency code NOT found!
Retry Y/N ? N

Order Solution Now

Our Service Charter

1. Professional & Expert Writers: Blackboard Experts only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Blackboard Experts are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Blackboard Experts is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Blackboard Experts, we have put in place a team of experts who answer to all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.