Skip to content

5 Friends (let's call them a, b, c, d and e) are playing a game and need to keep track of the scores. Each time someone scores a point, the letter of his name is typed in lowercase. If someone loses a point, the letter of his name is typed in uppercase. Results are returned from highest scoring to lowest.

License

Notifications You must be signed in to change notification settings

Jesse-Culver/Challenge-361-Tally-Program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Challenge-361-Tally-Program

5 Friends (let's call them a, b, c, d and e) are playing a game and need to keep track of the scores. Each time someone scores a point, the letter of his name is typed in lowercase. If someone loses a point, the letter of his name is typed in uppercase. Results are returned from highest scoring to lowest.

Challenge from the subreddit /r/DailyProgrammer

Compiled using:

g++ 361_Tally_Program.cpp -std=c++17 -o TallyProgram

Ran from terminal using:

./TallyProgram <INPUT_HERE>

Example:

./TallyProgram.exe EbAAdbBEaBaaBBdAccbeebaec

c:3, d:2, e:1, a:1, b:0

About

5 Friends (let's call them a, b, c, d and e) are playing a game and need to keep track of the scores. Each time someone scores a point, the letter of his name is typed in lowercase. If someone loses a point, the letter of his name is typed in uppercase. Results are returned from highest scoring to lowest.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages