Prompt the user to enter five numbers, being five people's weights. Store the numbers in an array of doubles. Output the array's
numbers on one line, each number followed by one space. (2 pts) Ex:Enter weight 1:236.0Enter weight 2:89.5Enter weight 3:142.0Enter weight 4:166.3Enter weight 5:93.0You entered: 236.000000 89.500000 142.000000 166.300000 93.000000
Explanation: Closed loop relies on feedback from PNS to make modifications in the movement, open loop allows action in the absence of feedback, 2. ... Closed loop can change the initial commands, open loop can not change the initial commands.