Your question: Write an application that creates and prints a random phone number of the form xxx-xxx-xxxx. Include the dashes in the output. Do not let the first three digits contain an 8 or 9 (but don't be more restrictive than than), and make sure that the second set of three digits is not greater than 742. Hint: Think through the easiest way to construct the phone number. Each digit does not have to be determined separately.
Recently Asked Questions
- Write the complete balanced equation for the reaction that occurs when CH4combusts in O2.
- Write the complete balanced equation for the reaction between AlF3and CaO.
- what are the main points of Dalton's atomic theory, and what points of the theory are still accepted in modern atomic theory, and what points have been changed