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.
1 answer:
Answer:
The answer to this question can be given as:
Function definition:
void printDottedLine() //define function printDottedLine().
{
//function body.
cout << ".....\n"; //message
}
Explanation:
In above c++ programming language we define a function definition that can be explained as follows:
- Firstly we define a function that is printDottedLine() function.
- This function does not return any value because its return type is void.
- The cout function prints the output in a single line which is terminated by a new line character that consisting of 5 periods i.e dot.
You might be interested in
Answer:
all but 3
Explanation:
3 is strange and I need points sorry
function is the right answer because function is a block of code designed to perform a particular task
Answer: D.) All of the above. (happy to help)
Explanation: A.)
problem solving
B.)
expertise
C.)
content
D.)
all of the above
The answer is the letter a
Answer:
1) Avoid the perfectionist of trap
2)Banish the negative thoughts
3) Get enough sleep
4) Make sure you are prepared
5) take deep breaths
Explanation:
In my thought it's the answer of this question.