Question: Write program (code) for the following scenario: Write a java program to create two parallel arrays of item ID and item Price. Please see the
Write program (code) for the following scenario:
Write a java program to create two parallel arrays of item ID and item Price. Please see the following tables for array creation. Your program should do the following:
- create two parallel arrays.
- prompt the user for an item ID.
- search entered Item ID in the ID array, if found display the price of the item from Price array.
- if not found, display appropriate message.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
