Thực hành 3 – Math & String
1.
2.
3. (Find the Unicode of a character) Write a program that receives a character and displays its
Unicode. Here is a sample run:
4. (Phone key pads) The international standard letter/number mapping found on the telephone is
shown below:
Write a program that prompts the user to enter a letter and displays its corresponding number.
5. (Check SSN) Write a program that prompts the user to enter a Social Security number in the
format DDD-DD-DDDD, where D is a digit. Your program should check whether the input is valid.
Here are sample runs:
6.