A traveler wants to purchase a number of traveler''s checks, computer programming, Programming Languages

A traveler wants to purchase a number of traveler''s checks, each having a set amount for four different currencies: Mexican pesos, Euro dollars, Swiss francs, and US dollars.
A traveler wants to know the value of all traveler''s checks in US dollars. When the traveler makes a purchase, he or she withdraws a designated number of traveler''s checks of a particular type. Additionally, this transaction should be refused if there are not sufficient traveler''s checks of the type designated. The traveler can increase the number of traveler''s checks by making a deposit, but cannot change the amount of the check after it has been established.
1) Create a UML diagram for a class named Checks that contains data members and methods that meet the criteria cited in the preceding problem statement.
2) Create a class Checks that includes the following members:
• The nonstatic int data member named nurnberOfChecks to keep track of the number of traveler''s checks available.
• The nonstatic int data member named faceAmount to keep track of the face value of the traveler''s checks available.

3) Create and use JUnit test set to test class Checks.
Posted Date: 3/10/2012 8:18:54 PM | Location : United States







Related Discussions:- A traveler wants to purchase a number of traveler''s checks, computer programming, Assignment Help, Ask Question on A traveler wants to purchase a number of traveler''s checks, computer programming, Get Answer, Expert's Help, A traveler wants to purchase a number of traveler''s checks, computer programming Discussions

Write discussion on A traveler wants to purchase a number of traveler''s checks, computer programming
Your posts are moderated
Related Questions
You will design and implement a program that will • analyse the various characteristics of a maze, represented by a particular coding of its basic con- stituents into numbers store

Let us say we have a list of 10 animal objects called "animals" in Alice. Write the code to move them forward synchronously by 1 meter.

Write a program that takes integer array of 8 elements from user and find the smallest element among them using pointers

You will create a simple network management configuration which checks that certain programs are running on your network and are performing as expected, and that certain system det

Need help with my assignment

Write a function that converts a character array to a signed floating point number. Function prototype must be as follows: int asciiToFloat( char *str, unsigned char* eflag) Follow

I have an assignment that requires from me to run multiple clients and one server ( Corba)

Perform Dbscan Clustering and K means I have a simple array of data. I need to perform dbscan clustering and k means based on the values in the array.detailed description  bel

Using the concept of structures, write a program to assign passenger seats in an airplane. Assume a small airplane with seats numbered as follows: 1 A B C D 2 A B C D 3 A

Write a function called withdraw (in the file 'withdraw.m') that simulates withdrawing money from a bank account. The function takes a single input argument, a positive scaler doub