Welcome to Dream.In.Code
Getting C# Help is Easy!

Join 135,956 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 2,642 people online right now. Registration is fast and FREE... Join Now!




the displayed result must be: There are 3A's,there are 2 B's

 
Reply to this topicStart new topic

the displayed result must be: There are 3A's,there are 2 B's, The application must parse the text input and output the number of tim

reddyg
21 May, 2008 - 11:27 AM
Post #1

New D.I.C Head
*

Joined: 21 May, 2008
Posts: 1

Hi ,


Could any one help me to write the code for

The application must parse the text input and output the number of times each letter of the alphabet occurs in the text. Case sensitivity is not required.

For example, if the command-line argument is “baaad” the displayed result must be:

There are 3 A's
There are 1 B's
There are 0 C's
There are 1 D's
There are 0 E's
There are 0 F's
etc...



User is offlineProfile CardPM
+Quote Post

crcapps
RE: The Displayed Result Must Be: There Are 3A's,there Are 2 B's
21 May, 2008 - 11:32 AM
Post #2

D.I.C Head
**

Joined: 13 May, 2008
Posts: 53


My Contributions
Soon, someone who has been here longer than me is going to tell you that we don't do your homework for you here, that you must presenta good faith effort to have done it yourself in the form of posted code, etc.

Give us a code sample of how you think it might be done and I bet that everyone will be all over it.

QUOTE(reddyg @ 21 May, 2008 - 12:27 PM) *

Hi ,


Could any one help me to write the code for

The application must parse the text input and output the number of times each letter of the alphabet occurs in the text. Case sensitivity is not required.

For example, if the command-line argument is “baaad” the displayed result must be:

There are 3 A's
There are 1 B's
There are 0 C's
There are 1 D's
There are 0 E's
There are 0 F's
etc...


User is offlineProfile CardPM
+Quote Post

Jayman
RE: The Displayed Result Must Be: There Are 3A's,there Are 2 B's
21 May, 2008 - 12:01 PM
Post #3

Student of Life
Group Icon

Joined: 26 Dec, 2005
Posts: 6,907



Thanked: 42 times
Dream Kudos: 500
Expert In: C#, VB.NET, Java

My Contributions
You are entirely correct, crcapps. So allow me to fulfill your prophecy. smile.gif

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 09:18AM

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month