Question: Following function in F#: Before we can start folding anything, we need to generate the list k. Complete the function oddSquares that has one input
Following function in F#:

Before we can start folding anything, we need to generate the list k. Complete the function oddSquares that has one input parameter the number of terms in the list, and one output parameter- the lst k that has type list double. It should behave like: oddSquares 6;; 2 val it : double list [1.0; 9.o; 25.0; 49.0; 81.0; 121.0]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
