Question: Can some help me with this? Assignment / 2. Problem 2: Product ID Numbers Saved 10 points possible Reset to Starter Code Problem Description In

 Can some help me with this? Assignment / 2. Problem 2:

Can some help me with this?

Assignment / 2. Problem 2: Product ID Numbers Saved 10 points possible Reset to Starter Code Problem Description In this second problem, you will build on and extend the program created while solving the first problem. You will be expected to isolate both the product id number and company number from the barcode number of the item to be purchased by the customer. Input You will receive from the user) the following as input (in order) The first and last name of the customer (e.g., Eric Poitras) The item to be purchased, identified through a barcode number (e.g., 1909238092) The cost of the item to be purchased by the customer (e.g., 8.50) The cash amount given by the customer (e.g., 10.00) Processing 1. Extract the product id and company id numbers 2 Print the data stored in each variable in the corresponding format Output 1. Customer (Last, First): {LAST} {FIRST) 2 Item Number (Product, Company): {PRODUCT} {COMPANY} 3. Item Cost: (COST) 4. Cast Amount: {CASH} Examples Input Eric Poitras Output Customer (Last, First): Poitras Eric 1909238092 Item Number (Product Company): 8092 19092 8.50 Item Cost: 8.50 10.00 Angela Siegel Cash Amount: 10.00 Customer (Last, First]: Siegel Angela 1909238095 Item Number (Product, Company]: 8095 19092 7.5 Item Cost: 7.50 10.0 Cash Amount: 10.00 Save Grading 2 Ru Problem2 Java New 1 Full Screen

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!