Let's calculate the "score" of an English word"

Source: Internet
Author: User

I received a mail from a netizen the day before yesterday and mentioned

If abcdefg ...... The 26 letters of XYZ correspond to the Arabic numerals 123456 ...... Then, we will draw a conclusion: What kind of life is happy (that is, satisfied)
A B C D E F G ...... X Y Z
1 2 3 4 5 6 7 ...... 26
Look at love luck work lover hard attitude.
Love = L + O + V + E = 12 + 15 + 22 + 5 = 54
Luck = L + u + C + k = 12 + 21 + 3 + 11 = 47 Goodluck = G + O + D + L + u + C + k = 7 + 15 + 15 + 4 + 12 + 21 + 3 + 11 = 88
Hardwork = H + A + R + D + W + O + R + k = 8 + 1 + 18 + 4 + 23 + 15 + 18 + 11 = 98
Lover = L + O + V + E + R = 12 + 15 + 22 + 5 + 18 = 72
Lover> love
Attitude = A + T + I + T + u + D + E = 1 + 20 + 20 + 9 + 20 + 21 + 4 + 5 = 100
Attitude scored 100 points. attitude,
In fact, satisfaction is determined by a person's attitude. The satisfaction of all people's life is determined by how a person views all things in the world.

After reading it, I was dizzy, wondering who was so boring to convert that score from so many English words. Later, I thought about how to use a simpleProgramSo I wrote a small program in JavaScript. This program may not be of any use at all. In fact, at that time, I was also bored to write such a boring little program ......

below are all the web pages Code : Check the running effect. in




A Article paste it to the following, click a blank area on the following page, the "scores" of the English words are calculated.
B c d e f g h I j k l m n o p q r s t u v w x y z






running effect in

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.