Create a program that uses two parallel one-dimensional arrays. The program displays a
shipping charge that is based on the number of items ordered by a customer. The shipping
charge scale is shown in Figure 1 below. Store the maximum order amounts in a one
dimensional int array. Store the shipping charge amounts in a parallel one dimensional
int array. The program should allow the user to enter the number of items a customer ordered.
It then should display the appropriate shipping charge. Use a sentinel value to stop the program.
Save and then run the program. Test the program appropriately
Write a program which allows user to enter 10 student names and scores for Java programming 1 and Java programming 2. Allow user to choose which course they want to enter the record for. Use the loop to ask input from user. The program should store data into two-dimensional array. Finally, use the method to print out all the recorded data from array.
2 answers
yes!