Write the definition of a function printDottedLine, which has no parameters and doesn’t return anything.

LANGUAGE: C++

CHALLENGE:

Write the definition of a function printDottedLine, which has no parameters and doesn’t return anything.
The function prints to standard output a single line (terminated by a new line character) consisting of 5 periods.

SOLUTION:

void printDottedLine ( ) { 
    cout << "....." << endl ; 
}