Menu

[solved] – Question 80923

Create a function (prob3_1) that takes an input vector of integers (each between 1 and 100) and will output the number of elements strictly greater than 30 and calculate the sum of all elements in the vector. Do this only with loops and if statements, do not use the SUM function.

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *