Skip to content

1. Sort alphabetic order 2. for each name calculate an alphabetical value of its letters (e.g. COLIN = 3 +15 + 12 + 9 + 14 = 53) multiply it by the position of the name in the sorted list (e.g. 938 for COLIN) 3. Find the sum of all name scores in the file.

Notifications You must be signed in to change notification settings

stpriyanka/SortAndSum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

SortAndSum

  1. Sort alphabetic order 2. for each name calculate an alphabetical value of its letters (e.g. COLIN = 3 +15 + 12 + 9 + 14 = 53) multiply it by the position of the name in the sorted list (e.g. 938 for COLIN) 3. Find the sum of all name scores in the file.

About

1. Sort alphabetic order 2. for each name calculate an alphabetical value of its letters (e.g. COLIN = 3 +15 + 12 + 9 + 14 = 53) multiply it by the position of the name in the sorted list (e.g. 938 for COLIN) 3. Find the sum of all name scores in the file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages