Enhance the pseudocode in the attachment by using arrays and loops. Also, instead of hardcoding the product names within the program, ask the user to enter the product names in addition to the prices. You can use char array products and float array prices to store the names and prices respectively (use "char products" and "float prices" if you want to simplify the code at the expense of a few more bytes of memory). Feel free to define additional arrays if needed.© BrainMass Inc. brainmass.com October 24, 2018, 11:00 pm ad1c9bdddf
See the attached document for a properly formatted solution.
define char products, float price
initialize i to 0
while (i < 5) do
prompt the user to enter product name
read product name into product[i]
prompt the user to enter the price for ...
This solution provides guidelines for enhancing a pseudocode using arrays and loops.