how to wirte 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
--------------------------------------------------------------------------------
can you help me....
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
--------------------------------------------------------------------------------
can you help me....
Comment