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

Thank you for the opportunity to help you with your question!

It is not to rewrite pseudo code without using an array because the coding and values of the items is not the same, they vary

Please let me know if you need any clarification. I'm always happy to answer your questions.
Jun 21st, 2015

Did you know? You can earn $20 for every friend you invite to Studypool!
Click here to
Refer a Friend
...
Jun 21st, 2015
...
Jun 21st, 2015
Dec 6th, 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