Write a script that takes a vector of numbers a and return


Write a script that takes a vector of numbers, A, and return a new vector B, containing the cubes of the positive numbers in A. If a particular entry is negative, replace its cube with 0.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a script that takes a vector of numbers a and return
Reference No:- TGS01604687

Expected delivery within 24 Hours