Write down the definition of a function dashedLine, with one parameter, an int .
If parameter is negative or zero, function does nothing. Otherwise it prints complete line terminated by new line character to standard output consisting of dashes (hyphens) with parameter's value finding number of dashes. Function returns nothing.