I need to create a function. Within this I need the following to happen:
List 1: '(a 5 6)
List 2: '(c 8 10)
List 3: '(d 4 9)
Above are the lists. I need to ignore the 1st column of each list (this being a, c and d.) and then put the 2nd column in a vector. Then do the same for the 3rd column but a separate vector. Once this is done I'll carry out some small arithmetic between the two and write the results of each into a third vector.
I have very little Clojure experience and come from a Java background. I've tried to use let
By doing so I've only been able to create a var which stores the 2nd and 3rd item in a single list only. (e.g. List 1's 5 & 6.) However I need the vector to be [5 8 4].