Project: Line Printing Function
Write a function to output a line pattern and use it in main().
We'll cover the following
Mini project
Write a function called printLine()
that outputs "-----"
three times. Call it from main()
.
Get hands-on with 1400+ tech skills courses.