Question: (Please answer both parts of each question) 1. Write down a BNF grammar and State Diagram for US phone numbers that uses the star (*)
(Please answer both parts of each question)
1. Write down a BNF grammar and State Diagram for US phone numbers that uses the star (*) after the area code instead of parentheses around it.
2. Write down a BNF grammar and State Diagram for US phone number written in the international style.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
