how do i write a C++ function called RepeatingWords that displays a word (passed in through a string type parameter) N (also passed through a parameter) times. Then, write a calling statement for the function

Recommended Answers

All 3 Replies

You start by figuring out what you want the function to do. Then you work out steps for how to do it. Then you define the function (and possibly even provide a prototype). Finally, you call the function.

Read this before posting again, please.

lolz [caveman]you make funny ha ha [/caveman]

Funny or not, until you stop being such a lazy ass and actually ask a smart question, I'll refuse to help you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.