is it possible to rewrite the pseudo code without using array?

Programming
Tutor: None Selected Time limit: 1 Day

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

Jun 21st, 2015

Dear your question is under-progress, it would be available to you as soon as it completes within next few minutes.


Jun 21st, 2015

Studypool's Notebank makes it easy to buy and sell old notes, study guides, reviews, etc.
Click to visit
The Notebank
...
Jun 21st, 2015
...
Jun 21st, 2015
Dec 9th, 2016
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer