USER REVIEWS
Binary Search for numeric vector
INPUT:x: vector of numeric values, x should already be sorted in ascending order (e.g. 2,7,20,...120)sval: numeric value to be search in x OUTPUT:index: index of sval with respect to x. If sval is not found in x then index is empty.
WRITE USER REVIEW