Write down the definition of the method dashedLine , with one parameter, an int .
If parameter is negative or zero, method does nothing. Otherwise it prints the complete line terminated by the newline to standard output containing of dashes (hyphens) along with the parameter's value calculating the number of dashes. The method will not return anything.