photo

BAKALE MURPHY


Active since 2017

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Given a vector containing N integers, write an M-flies to calculate how many elements in this vector are odd and how many are even. example if the given vector is :
input_v=[27 43 55 95 42 98 31] %your program should output the following messages: >>The number of odd elements is 5. >>The ...

7 years ago | 2 answers | 0

2

answers