- 3
Write a php code to implement phone dictionary
3 Respostas
+ 3
Jasvin Goyani Code related Questions must show attempts.
Other wise the question incomplete and may be marked for deletion by moderation.
+ 2
Tibor Santa Thanks
0
$phonedictionary = array();
$phonedictionary['Emergency'] = '911';
Edit: a phone dictionary can be implemented with a simple hashmap. Key is the person, value is the call number. Query of the number is trivial.
You did not write any further requirements.
Chris Coder I agree that the question was incomplete, and the asker is supposed to show some effort.