Question: 12. A vector is given by: x= [15 -6 0 8 -2 5 4 -10 0.5 3). Using conditional statements and loops write a program

 12. A vector is given by: x= [15 -6 0 8

12. A vector is given by: x= [15 -6 0 8 -2 5 4 -10 0.5 3). Using conditional statements and loops write a program that determines the sum of the positive elements in the vector

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Chemical Engineering Questions!