Question: write c# please Write a program that displays the numeric value of a word. Word will be entered by the user. Numeric values of English

write c# pleasewrite c# please Write a program that displays the numeric value of

Write a program that displays the numeric value of a word. Word will be entered by the user. Numeric values of English letters are given below. Following method will be used to calculate the numeric value of the word public static int GetNumericValue(string s) If the word contains any value different from lower case English letters, numeric value will be accepted as O and will be written a warning message . a) You have to use array(s) to declare the numeric values of the lower case letters - Letters a b cd e f Numeric Values 1 234 5 678 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 Following method will be used to write the numeric value of the word or warning message to the file "NumericStrings.txt". b) public static void WriteNumValueToFile(StreamWriter sw,string s) . The content of the "NumericStrings.tx" that is created at the previous runs wil not be deleted The numeric value of the word or warning message will be appended to the previous ones The following method will read the content of the NumericStrings. txt" file. The content will be displayed at the Console Window public static void ReadNumValuefromFile(StreamReader sr) c) .The method "public static int GetNumericValue(string s)" will be called in o "public static void WriteNumValueToFile(StreamWriter sw,string s)" d) The methods "public static void Writ eNumValueToFile(StreamWriter sw,string s)" and "public static void ReadNumValuefromFile(StreamReader sr)" will be called in o "static void Main(string[] args)" Write a program that displays the numeric value of a word. Word will be entered by the user. Numeric values of English letters are given below. Following method will be used to calculate the numeric value of the word public static int GetNumericValue(string s) If the word contains any value different from lower case English letters, numeric value will be accepted as O and will be written a warning message . a) You have to use array(s) to declare the numeric values of the lower case letters - Letters a b cd e f Numeric Values 1 234 5 678 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 Following method will be used to write the numeric value of the word or warning message to the file "NumericStrings.txt". b) public static void WriteNumValueToFile(StreamWriter sw,string s) . The content of the "NumericStrings.tx" that is created at the previous runs wil not be deleted The numeric value of the word or warning message will be appended to the previous ones The following method will read the content of the NumericStrings. txt" file. The content will be displayed at the Console Window public static void ReadNumValuefromFile(StreamReader sr) c) .The method "public static int GetNumericValue(string s)" will be called in o "public static void WriteNumValueToFile(StreamWriter sw,string s)" d) The methods "public static void Writ eNumValueToFile(StreamWriter sw,string s)" and "public static void ReadNumValuefromFile(StreamReader sr)" will be called in o "static void Main(string[] args)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!