Q1. Given the Phone keys mapping between numbers and characters as following
1 - a,b,c
2 - d,e,f
and so on, Write a Program that takes the integer as input and then print all possible combinations of characters matching those integers.
For example - 12 should return
ad,ae,af,bd,be,bf,cd,ce,cf | Design |
|