Skip to content

Instantly share code, notes, and snippets.

@tremaineeto
Last active May 1, 2021 06:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tremaineeto/2ca76f1e7d1738a99939b82b2ba8a2a4 to your computer and use it in GitHub Desktop.
Save tremaineeto/2ca76f1e7d1738a99939b82b2ba8a2a4 to your computer and use it in GitHub Desktop.
String[][] peopleToGrades = {
{"Tremaine", "A"},
{"Jeremy", "A-"},
{"Yuta", "B"},
{"Steph", "A+"},
{"Klay", "B+"},
{"Damian", "A"},
{"Klay", "A"},
{"Jeremy", "B-"},
};
for (String str : arrayOfStrings) {
// want to ideally store a mapping of person name to their grades
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment