8000 GitHub - cwperry/homework
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cwperry/homework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grader

Grader is a library that will be used to output the grades for each student in the class including their average given a CSV.

Problem

Implement the Grader library so when used with "scrape.rb", it displays the name of the student, grades for each subject and their total average grade.

When you run this script:

bundle exec ruby -Ilib scrape.rb

We expect the following output:

+---------------+---------+------+---------+---------+
| Name          | English | Math | Physics | Average |
+---------------+---------+------+---------+---------+
| Billy Joel    | 92      | 88   | 85      | 88      |
+---------------+---------+------+---------+---------+
| Omar Hassan   | 78      | 98   | 95      | 90      |
+---------------+---------+------+---------+---------+
| Ashley Bubble | 85      | 90   | 91      | 88      |
+---------------+---------+------+---------+---------+

Use TDD/BDD if necessary and test parts that you think are worthwhile.

This project uses git but does not have a remote repository. So keep committing your progress so we can see your thought process as well as how you structure your commits and commit messages.

When you're done. Compress the file again and send it back.

Thanks! And happy coding!

Testing

To run the tests, simply do:

bundle exec rake spec

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0