//Ask the user to start the program (the outer loop)
output “To begin, enter Y or y. To end the program, enter the letter N:”
input getUserDecision
// If the user enters Y or y, the outer loop begins while (getUserDecision = “Y”) OR (getUserDecision = “y”)
  //Get the product names and costs
  //Can enter up to 10 products and their cost
for num count = 0 to 9 Step 1 //Declare count here
    output  “Enter product name:” //Prompt user
         input productName[count] //Input product name
         output “Enter product cost: $” //Prompt user 
         input productCost[count] //Input product price
  end for
 
     
     
    