Write an application program that creates and prints a random phone number of the form XXX-XXX-. Include the dashes in the output. Do not let the first three digits be 8 or 9 and make sure the second set of three digits is not greater than 742.

Solved
Show answers

Ask an AI advisor a question