-
Need help with C#
Hello,
Can you help me with building this C# console application:
Write a class that reads a text files and computes the relative frequency of each letter of the
alphabet. You use an array to store the numbers of occurrences of each letter. You use
ToLower method to convert uppercase letters. The relative frequency is the number of
occurrences divided to the total number of letter in the text without white spaces characters.
Subtracting “a” give you the number of the occurrences of this letter.
Test your program in a Console application, first with a ten lines of text and after run it
several with larger text files and compare the results. This information can be used to break
the Caesar code.
Thanks in advance! :)
-
Re: Need help with C#
First read your class notes. Then check out the relevant examples (i'm sure there must be some). If you have issues with them, post your question here. Finally, if you still have no idea where to even begin this task, you should ask your lecturer or classmates for a bit of guidance.
-
Re: Need help with C#
I could help, but then I also missed the same classes that you did. :rolleyes:
We do not do homework here, ask specific questions and people here would be more than happy to help you out. If you ask for homework, you will never get answers. it is better to get a book, learn your way through examples and then try your hand on this particular problem. I am sure you would be able to resolve it.
-
Re: Need help with C#
It has been seen thousend of times that its no help to do your work for you. In real life you need to do your job and nobody can do it for you. If someone does the work for you, you will not be able to see your own problems, you will not be able to learn of your mistakes and you will stay unable to solve this easy and bigger problems in future. Cheating alwasy is cheating yourself.