Skip to content

Sleepsounder/Momentum-exercise-w3-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Ruby Classroom

Directions

This project requires you to write a set of functions that use hashes and arrays to calculate various statistics for a classroom. Almost all of these functions will take the same data structure: a hash. This hash contains student names and grades, and looks like this:

{
  indiana: [94, 82, 59, 95, 55, 98, 93, 84, 81, 75],
  nevada: [53, 84, 98, 58, 75, 61, 67, 62, 60, 89],
  drew: [88, 55, 76, 66, 57, 57, 62, 89, 67, 76]
}

Tests are provided to help guide you as you write your ruby code. You'll need to write ruby methods to make these tests pass.

Files

Write your methods in classroom.rb in the 'starter_files' folder. There are comments there to help you get started. To run the tests to see if your code passes or fails, run ruby classroom_test.rb.

About

my first ruby excercise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages