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)

selection
iteration
recursion
sequence

1 answer

The structure that controls this part of the program is selection.

Selection structures allow the program to make decisions based on user input, so if the user clicks on the cart icon, the program executes one action, and if the user clicks on the dollar sign, it executes a different action.