Question: May I please get some help with 3 more questions Ill use my questions on each one but its more so having to do with
May I please get some help with 3 more questions Ill use my questions on each one but its more so having to do with vectors, I dont know what is exactly going on and I want to know
Please Can I get help with this 2 questions on C++? thank you and God bless you!

Question 2.

Define a function NegateVector() that takes an input double vector parameter and an output vector parameter passed by reference. The function stores the negative of each input vector element to the output vector. Ex: If the input is: 50.52.5.2.1.5 then the vector has 5 elements {0.5,2.0,5.0,2.0,1.5} and the output is: 0.52.05.02.01.5 Define a function InspectCharacters() that has one input string parameter, one character parameter, and one output vector parameter passed by reference. The function should not return any value. The function appends true to the output vector for each character in the string that is not equal to the character parameter, and appends false otherwise. The values in the output vector are in the same order as the input string. Ex: If the input is zzvt z, then the output is: z is equal to z z is equal to z v is not equal to z t is not equal to z Define a function NegateVector() that takes an input double vector parameter and an output vector parameter passed by reference. The function stores the negative of each input vector element to the output vector. Ex: If the input is: 50.52.5.2.1.5 then the vector has 5 elements {0.5,2.0,5.0,2.0,1.5} and the output is: 0.52.05.02.01.5 Define a function InspectCharacters() that has one input string parameter, one character parameter, and one output vector parameter passed by reference. The function should not return any value. The function appends true to the output vector for each character in the string that is not equal to the character parameter, and appends false otherwise. The values in the output vector are in the same order as the input string. Ex: If the input is zzvt z, then the output is: z is equal to z z is equal to z v is not equal to z t is not equal to z
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
