Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Objective of this homework assignment is to practice functions, lists and files. Problem Description: program generates a list 'Marks' with 3 0 data elements which
Objective of this homework assignment is to practice functions, lists and files.
Problem Description: program generates a list 'Marks' with data elements which is filled with the random numbers
between and Then each of these grades categorized as follows in the list Grades:
Display the marks and grade in the tabular format with three columns in a file called 'output.txt
Your program should consist of main and all other functions are called by main
ReadMarks: Generates the list Marks filled with numbers between and and returns the list to the main
determineGrades: it receives the Marks list and generate a new list called Grades as per above table.
PrintResults: receives the marks and grades list.
Prints the marks and grades in the tabular format and then prints the lowest marks for each grade A B C D
Sample Output
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started