Question: JAVA Write a program that prompts the user to enter a 10 alphabets (A-Z) and converts it to numbers using the following mapping: A, B,

JAVA

Write a program that prompts the user to enter a 10 alphabets (A-Z) and converts it to numbers using the following mapping:

A, B, C = 8

D, E, F = 6

G, H, I = 4

J, K, L = 5

M, N, 0 = 7

P, Q, R, S = 2

T, U, V, W = 3

X, Y, Z = 1

Please be sure to use Object Oriented Programming concepts when designing and writing code for this question. Complete class(es) (if more than > 1 class is required) and main() method is required.

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!