中信银行双井支行:c语言一题

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/03 17:41:55
Notice that on a telephone keypad ,the keys labeled 2 ,3,4,...,9 also have letters associated with them.For example,the key labeled 2 corresponds to the letters A ,B,and C.Write a program that will map a seven-digit telephone number into all possible character sequences that the phone number can represent.
For this program,use a function that performs the mapping between bigits and characters.The digits 1 and 0 map to nothing.
Notice that on a telephone keypad,the keys labeled 2,3,4,...,9 also have letters associated with them.For example ,the key labeled 2 corresponds to the letters A,B,and C.Write a program that will map a seven-digit telephone number into all possible character sequences that the phone number can represent.For this program,use a function that performs the mapping between digits and charaters.The digits 1 and 0 map to nothing.