Assignment #14

Write a program that produces the following output:

 

Screen Shot 2016-09-11 at 12.21.42 PM.png

 

For extra credit, try  the following.  You will have to do a little research on how to turn a string into an integer.

For extra extra credit, modify your code to allow for the hyphens to come at random points in the string.

For even more extra credit, add up all of the digits.

Screen Shot 2016-09-11 at 12.30.01 PM.png

 

Leave a comment