|
-
November 8th, 2009, 10:15 PM
#1
Stuck on a programming assignment
I am completely confused at how to go about putting together a code for the following:
I must accept a string of up to 256 characters from the user, and display the following information about the string:
-The count, frequency, and probability of each character that appears in the string in decreasing order
-Compute the Shannon Entropy of the string in bits.
Thank you for taking the time to read this post, I greatly appreciate any and all help I can get.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|