Community Profile

photo

shyam


Active since 2014

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


How can I apply the loop method for this program ?
I want create a program that continuously asks the user to enter numbers until the user enters a negative number. The numbers be...

10 years ago | 1 answer | 0

1

answer

Question


How can I compute the sum and average of odd numbers by using the loop method ?
For example, if I have a vector A. A=[23 44 2 -4 -19 15 1 -70 78] then how can I compute the sum and the average of all the od...

10 years ago | 1 answer | 0

1

answer