10.0k views
1 vote
Write the definition of a method printdottedline, which has no parameters and doesn't return anything. the method prints to standard output a single line (terminated by a newline) consisting of five periods. write the definition of a method, printdottedline, which has no parameters and doesn't return anything. the method prints to standard output a single line (terminated by a newline) consisting of five periods.

User OfficeYA
by
6.8k points

1 Answer

4 votes
void printdottedline()
{
printf(".....\\");
}

void printdottedline()
{
printf(".....\\");
}
User Klaus Rohe
by
6.1k points