Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write a program which does the following: a)takes in a csv file, where each line of the file contains: , , b) asks the user

write a program which does the following:

a)takes in a csv file, where each line of the file contains: , ,

b) asks the user to input a particuular grade to search by

c) searches for all entries in the csv which contains a grade greater than the given grade

d)prints to screen all names(first last) that match the criteria.

for example, given a CSV file labeled students.txt:

oppenheimer, robert, 80 teller, edward, 60, frisch, otto, 90, fermi, enrico, 90

if the user enters the grade 75, the resulting output of the program woould be:

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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