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.
.
.
Click on the title for the solution
.
.
void printDottedLine()
{cout<<".....\n";
}
.
Click on the title for the solution
.
.
This is the answer:
:
void printDottedLine()
{cout<<".....\n";
}
Comments
Post a Comment