Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C# programming: How would I code this please ? you'll mimic a phone speed dialing function. Imagine that there are 6 speed-dial slots, each with

C# programming: How would I code this please ?

you'll mimic a phone speed dialing function. Imagine that there are 6 speed-dial slots, each with a person's name and their phone number. You will:

image text in transcribed

image text in transcribed

1. List the contents of all the slots, one slot per row. Each will look something like this: Slot 1: Arnold 213-222-1111 2. Next, ask the user to provide the name associated with a number. If the name exists (case insensitive), print the message "Calling name at number." If the name does not exist, tell the user that the name is not found. 3. Finally, ask the user whether they'd like to search for another name and loop back to 2 if they would. Use the two parallel string arrays, Name and Number, illustrated below. Use a while loop to search for name. Name Number Arnold 213-222-1111 213-111-1111 Sly Dwayne Vin 213-444-1111 213-666-1111 JCVD 213-321-1111 213-978-1111 Steven Example output: C:\Users\denni OneDrive 2020.04 PROG 110\Programs 05 - Arrays\ModosSpeedDialer Ch06SpeedDialer bin... slot 1. Arnold 213-222-1111 Slot 2. sly 213-111-1111 slot 3. Dwayne 213-444-1111 Slot 4. Vin 213-666-1111 slot 5. JCVD 213-321-1111 Slot 6. Steven 213-978-1111 Who would you like to call? keanu Bummer, dude. Nobody named keanu in your speed dial. Would you like to look up another name? yes Who would you like to call? jcvd slot 5: Calling JCVD at 213-321-1111 Would you like to look up another name? y who would you like to call? Vin slot 4: Calling Vin at 213-666-1111 Would you like to look up another name? n Press any key to continue

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

4. Did you rethink your decision?

Answered: 1 week ago

Question

3. Did you seek anyones advice?

Answered: 1 week ago

Question

7. What traps should she avoid?

Answered: 1 week ago