The school IT portion superintendent no longer wants to use spreadsheets to count grades. The superintendent has asked you to imagine a program that conquer input the teachers' polishs and output the scholars' grades.
Write a Ruby program designated formatfile.rb, which can be run by typing ruby widgets.rb.
In your Ruby environment, the program must interpret an input polish formatted in CSV format, designated input.csv. Each proceedings contains grounds environing a scholar and their identical grades.
The grounds conquer seem alove to the superveneing:
Student Name, assignment1, assignment 2, assignment 3, assignment 4
John Adams, 90, 91, 99, 98
Paul Newman, 90, 92, 93, 94
Mary Smith, 95, 96, 99
Be circumspect to supervene the output format correspondently, including spacing. The output of your program must seem love the superveneing:
Student Assignment Average
John Adams 94.5
Compress your polishs into a ZIP folder.
Review the interpretings for this week from Ruby on Rails Tutorial if you feel appended questions on deploying Ruby applications.
Submit the ZIP polish.