Question: Create a solution that accepts an integer input representing a 9 - digit unformatted student identification number. Output the identification number as a string with

Create a solution that accepts an integer input representing a 9-digit unformatted student identification number. Output the identification number as a string with no spaces.
The solution output should be in the format
111-22-3333
Sample Input/Output:
If the input is
154175430
then the expected output is
154-17-5430

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!