From: 7amood j. <sou...@ho...> - 2008-10-18 19:25:55
|
hi....i really need help .....i have an assighnment in c++ ; the professor wants me to write a program which counts the symbols of a string.... here is the question.... A string is any combination of blanks, letters, digits and/or special characters. Write a C++ program to calculate and print the number of different symbols used in a given string. A blank space counts as one symbol. Input: Any string. The length is limited to 60 characters. For example: Enter a string: Mississipi Test data:#1. “Say good bye!”#2. “The world is round” Output: The number of different symbols. For example, the output for the string “Mississipi” is Number of symbols for the string “Mississippi” is: 4 THIS IS THE QUESTION ...SOO PLZZZZZ IF ANYYONE HERE KNOWS THE ANSWER JUST MSG IT TO ME .....AND HERE IS MY HOTMAIL ADDRES..U CAN SEND THE PROGRAM TO ME ..SOU...@HO.........THNXXX _________________________________________________________________ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE |