Question: 1. Write pseudocode to accept an array of numbers and a. Find their sum b. Find the largest number entered 2. Write pseudocode to create

1. Write pseudocode to accept an array of numbers and
a. Find their sum
b. Find the largest number entered
2. Write pseudocode to create a simple database using PARALLEL arrays
a. Create 2 arrays to accept 5 product names and their unit price
b. Ask the user to enter a product name they are searching for .
i. If the product name matches from the list in your original array list display the unit price of the item else print "item does not exists"


Step by Step Solution

3.41 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 Array Operations a Finding Sum Initialize sum Set to 0 i Counter variableset to 1 Loop through the array FOR i IN rangelenarray Add each element to the sum sum arrayi Print the sum PRINT sum b Findi... View full answer

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 Programming Questions!