Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

F# help need.............................................................Attached is a text csv database file containing student information named Students.txt. The info includes a first name, middle initial, last name, phone

F# help need.............................................................Attached is a text csv database file containing student information named Students.txt. The info includes a first name, middle initial, last name, phone number, email and gpa. You must write an F# program that: 1.) adds Malachi Constant, a transfer from Stanford, in the appropriate spot with a 4.0 gpa and any phone number and email address, 2.) prints how many students have a 3.0 gpa or higher, 3.) prints the name (first, middle initial, last) and gpa of all students with the last name Anderson, 4.) prints how many students do not have an email account, 5.) prints the average gpa of all students. After you add Malachi Constant with a phone number, email address and 4.0 gpa, you should find the following: 1.) 4166 students have a 3.0 gpa or higher, 2.) there are 20 andersons (print them all out), 3.) there are 19 students with no email address, 4.) the average gpa is 2.80284235950596, 5.) there are 10,491 students total.

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

Students also viewed these Databases questions

Question

In an Excel Pivot Table, how is a Fact/Measure Column repeated?

Answered: 1 week ago