define a function sumselected() that has one integer vector parameter and one integer parameter. the function returns the sum of the vector's elements that are equal to the integer parameter. ex: if the input is 4 -23 1 1 -4 1, the vector has 4 elements {-23, 1, 1, -4}, and the integer parameter is 1. then, the output is: 2