So here it is. Between work and internet security project I have dropped the ball and managed to let this project get away from me.
But I am in a huge bind and need someone to help me. There is some definite financial arraignments that can be made if anyone is willing to take this on.
Basically this is what I am working on:
Given the economic conditions, businesses have sprouted offering money for unwanted jewelry, antiques and collectibles to people in need of cash. The service makes exchanging goods for cash easy and discrete.
You have been tasked by ?Cash for Metals? to write a program which will help calculate the amount they will pay customers for their precious metals. Customers mail an envelope filled of metals to Cash for Metals, who create a proposal for purchasing of the metals from the customer. Below are the program requirements:
Read the entire assignment before proceeding to coding ? be sure to follow the implementation notes!
1. First, some introductory lines are printed welcoming the user to the program:
*** ***
*** Welcome to Cash for Metals Calculator!!! ***
*** ***
2. The program will begin asking for information about the customer and the metals they have submitted as follows.
a. Customer?s Name (String)
b. Weight of Gold (double)
c. Weight of Platinum (double)
d. Weight of Silver (double)
3. Processing of Data
a. Create a unique 8 digit number (int) to identify the customer (use the Math random function)
b. The following conversion rates will be used for calculation of the amount of money offered for each metal the customer has submitted and a total amount
Gold $400.50/ounce
Platinum $500.50/ounce
Silver $6.25/ounce
4. Display the data
a. Display the customer?s name
b. Display the customer?s ID
c. Display the amount of money to be offered for each metal
d. Display the total amount of money to be offered to the customer
5. Ask the user if they wish to enter another customer ? assume the user will enter either ?Yes? or ?No? (use the equalsIgnoreCase when checking the user?s response). If yes, you should start inputting values again (step 2). If no, continue to step 6.
6. Display a summary of the user?s input for all customers as follows:
a. Total weight for each metal from all customers
b. Total dollar amount of money to be offered for each metal for all customers
c. Grand total for all metals for all customers
Display Values
Note that different values must displayed in different ways. Here are some examples
Display Item Format Examples
Metal Weight Round to 2 decimals, one digit left of decimal 325.40
0.56
Dollar Amount Dollar sign, round to 2 decimals, one digit left of decimal $200.34
$45.50
$0.35
And example of what the output should be:
*** ***
*** Welcome to Cash for Metals Calculator!!! ***
*** ***
Enter the customer name > Joe Schmoe
Enter the weight of gold > 12
Enter the weight of platinum > .5
Enter the weight of silver > 4.6
*** Customer Summary ***
Customer Name: Joe Schmoe
Customer ID: 91816383
Gold Total: $4806.00
Platinum Total: $250.25
Silver Total: $28.75
Total Offer: $5085.00
Would you like to enter another customer? > No
***Grand Total Summary ***
Gold Totals: 12.00 ounces, $4806.00
Platinum Totals: 0.50 ounces, $250.25
Silver Totals: 4.60 ounces, $28.75
Grand Total: $5085.00
If anyone is willing then I would be so grateful and I can concentrate on my IS project a bit more. Please post here or send me a PM.
Question
#Michael
So here it is. Between work and internet security project I have dropped the ball and managed to let this project get away from me.
But I am in a huge bind and need someone to help me. There is some definite financial arraignments that can be made if anyone is willing to take this on.
Basically this is what I am working on:
Given the economic conditions, businesses have sprouted offering money for unwanted jewelry, antiques and collectibles to people in need of cash. The service makes exchanging goods for cash easy and discrete.
You have been tasked by ?Cash for Metals? to write a program which will help calculate the amount they will pay customers for their precious metals. Customers mail an envelope filled of metals to Cash for Metals, who create a proposal for purchasing of the metals from the customer. Below are the program requirements:
Read the entire assignment before proceeding to coding ? be sure to follow the implementation notes!
1. First, some introductory lines are printed welcoming the user to the program:
*** ***
*** Welcome to Cash for Metals Calculator!!! ***
*** ***
2. The program will begin asking for information about the customer and the metals they have submitted as follows.
a. Customer?s Name (String)
b. Weight of Gold (double)
c. Weight of Platinum (double)
d. Weight of Silver (double)
3. Processing of Data
a. Create a unique 8 digit number (int) to identify the customer (use the Math random function)
b. The following conversion rates will be used for calculation of the amount of money offered for each metal the customer has submitted and a total amount
Gold $400.50/ounce
Platinum $500.50/ounce
Silver $6.25/ounce
4. Display the data
a. Display the customer?s name
b. Display the customer?s ID
c. Display the amount of money to be offered for each metal
d. Display the total amount of money to be offered to the customer
5. Ask the user if they wish to enter another customer ? assume the user will enter either ?Yes? or ?No? (use the equalsIgnoreCase when checking the user?s response). If yes, you should start inputting values again (step 2). If no, continue to step 6.
6. Display a summary of the user?s input for all customers as follows:
a. Total weight for each metal from all customers
b. Total dollar amount of money to be offered for each metal for all customers
c. Grand total for all metals for all customers
Display Values
Note that different values must displayed in different ways. Here are some examples
Display Item Format Examples
Metal Weight Round to 2 decimals, one digit left of decimal 325.40
0.56
Dollar Amount Dollar sign, round to 2 decimals, one digit left of decimal $200.34
$45.50
$0.35
And example of what the output should be:
*** ***
*** Welcome to Cash for Metals Calculator!!! ***
*** ***
Enter the customer name > Joe Schmoe
Enter the weight of gold > 12
Enter the weight of platinum > .5
Enter the weight of silver > 4.6
*** Customer Summary ***
Customer Name: Joe Schmoe
Customer ID: 91816383
Gold Total: $4806.00
Platinum Total: $250.25
Silver Total: $28.75
Total Offer: $5085.00
Would you like to enter another customer? > No
***Grand Total Summary ***
Gold Totals: 12.00 ounces, $4806.00
Platinum Totals: 0.50 ounces, $250.25
Silver Totals: 4.60 ounces, $28.75
Grand Total: $5085.00
If anyone is willing then I would be so grateful and I can concentrate on my IS project a bit more. Please post here or send me a PM.
Link to comment
Share on other sites
18 answers to this question
Recommended Posts