Question: [Java] Prompt the user for a phone number. Output all the possible phone numbers that use the letters on the keyboard. For example, the phone

[Java] Prompt the user for a phone number. Output all the possible phone numbers that use the letters on the keyboard. For example, the phone number 123-4567 will have as one of its combinations 1CFILOQ. Do not use loops. Use recursion.

Standard Input

0 1 2 3 4 5 6 7 8 9

Standard Output

0 1

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!