Question: Write a C# console application that allows me to type in any word and get the value of the word. You will calculate the value
Write a C# console application that allows me to type in any word and get the value of the word. You will calculate the value of the word by assigning a value to each letter starting with A going through Z You will use the position of the letter as it appears in alphabetical order. The values for each letter will start as follows:
A
B
C
D
E
F
G
Z
Using this series, the value of the word "CAB" would be equal to This is because C A and B ;
I should be able to type in any word and get a single number value back that represents the "value" of the word.
Below are some test words that you can use to validate that your code is working properly. I will also test your code with other words.
ABC
ABA
EGG
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
