Find Us On: Facebook Twitter Rss Feed Blog
Need To Register? Sign Up Login

week 3 forum

thee_man
thee_man 


Discussion Points 1: How do arrays/lists make programming easier? Is it possible to write all the programs without using arrays? Discussion Points II: What are some real-life examples equivalent to arrays. Explain. Discussion Points 3: Following pseudocode reads the list of item prices and outputs the item with max price. Is it possible to rewrite the pseudocode without using array? Explain. item_number = 0 while not eof item_number = item_number + 1 read item_price[item_number] end max_price_item = 0 max_price = 0.00 for i = 1 to item_number do if max_price < item_price[i] then max_price_item = i; max_price = item_price[i]; endif end print max_price_item, max_price Attachments
Tags
Clarifications

Answers

week 3 forum

sudheer488
sudheer488 



Provided the answers for all the questions Attachments Screenshots
Purchase Answer