Exercise: Multiply numeric vectors

Multiply the numeric vectors ascending and descending:

  1. Create a vector with the numbers 1, 2, 3 and 4 and assign it to the variable ascending.
  2. Create a vector with the numbers 4, 3, 2 and 1 and assign it to the variable descending.
  3. Multiply (*) the variable ascending with the variable descending.
Output

Submit code to see output here.

Use basic operators