Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need to learn F# , and need to get efficiency with working with immutable data and recursion . Please, need help! I feel like

I need to learn F#, and need to get efficiency with working with immutable data and recursion.

image text in transcribed

Please, need help! I feel like I am still thinking in the object oriented mindset.

Write a program that asks the user for a number n and prints the sum of the numbers 1 to n. Don't use the math formula. Modify the previous program such that only multiples of three or five are considered in the sum, e.g. 3, 5, 6, 9, 10, 12, 15 for n=17 Write a function that returns the largest element in a list. Write function that reverses a list, without using and built-in List functions

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

2nd Edition

1597499471, 978-1597499477

More Books

Students also viewed these Databases questions