Register and join over 40,000 other developers!
Why password_verify Not Passing The Verification ?
uniqueideaman - Sep 20 2017 05:48 AM
Recent Blog Entries
Recent Status Updates
- Managed C++
- Visual Basic 4 / 5 / 6
- linked list
- hello world
No replies to this topic
Posted 08 April 2016 - 08:08 PM
Write a single program that does the following. You would be well
advised to complete each part before even attempting the next.
Part 1 (50 points)
Write a program to accept a one-line string (maximum of
100 characters) from the keyboard. Then, edit (with
code that you write) to remove all the white space,
digits, punctuation, and other special characters,
leaving only the letters. Print out the resulting com-
pressed string to the screen.
for example, if the input string was
If I've told you once, I've told you 1000 times!!
then the output string would be
Part 2 (50 points)
Now, build a letter frequency table (you MUST use a 26
entry WORD integer array) that counts how many times
each letter is used in your compressed sentence for
Part 1. Count upper case letters as if they were lower
Print out the numbers in this table to the
screen starting with the frequency of "a" and continu-
ing to the frequency of "z". Format the table output
to consist of two horizontal lines with 13 numbers in
each line. Separate the numbers on the line by a sin-
The appropriate output here for the above input would
Letter Frequency Table
0 0 1 2 4 1 0 0 4 0 0 2 1
1 5 0 0 0 1 3 2 2 0 0 2 0
Have the program handle multiple data sets and
terminate execution when a null input string is
please name the source file