A program will load the web page with a shopping cart if the user clicks on the cart icon, and it will load the sales items if the user clicks on a dollar sign. Which structure controls this part of the program?(1 point)Responsesselectionselectioniterationiterationrecursionrecursionsequence

1 answer

The structure that controls this part of the program is selection. Selection structures allow the program to choose between different actions based on user input (e.g., clicking on the cart icon or the dollar sign).