Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Build a phone book program, that recevies the phone number and return the name of the owner. You can follow the table below: I want
Build a phone book program, that recevies the phone number and return the name of the owner. You can follow the table below:
I want user enter the number
Name | number |
Amal | 1111111111 |
Kadijah | 2222222222 |
Rawan | 3333333333 |
Layla | 4444444444 |
Mohammed | 5555555555 |
Abdullah | 6666666666 |
Faisal | 7777777777 |
if the number exists print the owner otherwise print Sorry
if the number less than or more than 10 number,printthis is invalid num
if the number contains letters or sympol printthis is invalid num
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started