Practice Problems
Colon-Operator-Practice
Question

Colon Operator Practice

  1. Create a vector of all the odd positive integers smaller than 100 in increasing order and save it into variable odds.
  2. Create a vector of all the even positive integers smaller than or equal to 100 in decreasing order and save it into variable evens