Computers and Technology

Write a java program that use multiple arrays this is a simple array program which does not use an "external class & demo program" if you wish, you may break it down into methods, but that is not required. a. set up 4 arrays which hold data about 6 items you want to sell: [make them up] int[ ] itemnum int[ ] quantity double[ ] price double[ ] sales b. set up loops to load the itemnum, quantity and price arrays c. set up another loop to calculate values for the sales array. [= price * quantity] d. set up another loop to print the item number and sales amount for each transaction . e. set up another loop to calculate the total sales of all 6 items f. print the total sales amount

answer
Answers: 3

Similar questions

Do you know the correct answer?
Write a java program that use multiple arrays this is a simple array program which does not use an "...

Questions in other subjects:

Konu
Spanish, 28.04.2021 02:10
Konu
Spanish, 28.04.2021 02:10