Write a program that generates a vector with 20 random elements between -10 and 10 and then

Question:

Write a program that generates a vector with 20 random elements between -10 and 10 and then finds the sum of the positive elements.
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: