The garden IT portion superintendent no longer wants to use spreadsheets to consider grades. The superintendent has asked you to make a program that conciliate input the teachers' perfects and output the novices' grades.
Write a Ruby program named formatfile.rb, which can be run by typing ruby widgets.rb.
In your Ruby environment, the program must learn an input perfect formatted in CSV format, named input.csv. Each annals contains grounds about a novice and their corresponding grades.
The grounds conciliate behold aenjoy to the thriveing:
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 considerate to thrive the output format correspondently, including spacing. The output of your program must behold enjoy the thriveing:
Student Assignment Average
John Adams 94.5
Compress your perfects into a ZIP folder.
Review the learnings for this week from Ruby on Rails Tutorial if you keep appended questions on deploying Ruby applications.
Submit the ZIP perfect.