Welcome to the Simplilearn Community

Want to join the rest of our members? Sign up right away!

Sign Up

Search results

  1. N

    coding assignment

    v1 <- c(1,2,3,4,5,6) ### Assignment : Add 5 to the elements if the element is odd. Else add 10 to the element . Please help in coding for this in R.
  2. N

    identifying odd and even numbers in vectors

    v=c(1,2,3,4,5,6) ### Assignment : Add 5 to the elements if the element is odd. Else add 10 to the element . How to do coding for this? Can someone help me?
Top