Question: This component should be submitted separately to the code section in GradeScope. ( 1 ) Write an OCaml function maxAbsoluteVal : int list int that
This component should be submitted separately to the code section in GradeScope. Write an OCaml function maxAbsoluteVal : int list int that takes an integer list l and returns the maximum absolute value of l Examples: # maxAbsoluteVal ;; : int # maxAbsoluteVal ;;;;; : int Write an OCaml function getnthdigit : int int that gets the nth digit of an integer. Examples: # getnthdigit ;; : int # getnthdigit ;; : int
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
