Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

JAVA PROGRAMMING project 1: Businesses want phone number s that are easy to reme

ID: 3785134 • Letter: J

Question

JAVA PROGRAMMING

project 1:

Businesses want phone numbers that are easy to remember, and one that can be tied to a phone number are even better.

Given the “standard international keypad”, write anaysis and design to determine the phone number based on a user-supplied 7-letter phrase.

1

2 ABC

3 DEF

4 GHI

5 JKL

6 MNO

7 PQRS

8 TUV

9 WXYZ

*

0

#

Test cases:

BadDogs

GoodCat

Glasses

EatGood

------------------------------------------------------------------------------------------------------------------------

I ONLY NEED ANALYSIS AND DESIGN! NOT CODE!

create an Analysis: (Describe the problem including input and output in your own words.)

--> description of the problem situation is provided all required rules/guidelines are listed. A listing of all necessary inputs/outputs is included

create a Design: (Describe the major steps for solving the problem.)

--> A plan for implementation of a solution is provided. The plan effectively demonstrates the use of loops and conditional branching statements where appropriate to the solution. The plan effectively demonstrates modular program design. The plan is completed using appropriate flowcharting and/or pseudocode techniques The plan includes a listing of all necessary variable declarations (including type), then uses the variables consistently to complete the solution

1

2 ABC

3 DEF

4 GHI

5 JKL

6 MNO

7 PQRS

8 TUV

9 WXYZ

*

0

#

Explanation / Answer

The problem is to translate letters into digits without changing the format of the original string. The conversion is based on the international standard letter/number mapping on phones

Another program for compose a string, use a StringBuilder.