Answer:
Here's the pseudocode for the IsSumNegative function:
function IsSumNegative(vector, integer)
sum = 0
for each element in vector
if element >= integer
sum = sum + element
end for
if sum < 0
return true
else
return false
end if
end function
Step-by-step explanation:
Note: This code assumes that the vector parameter is a std::vector<int> type.