1.Write a C++ function that intakes 2 arguments: a character and an integer and prints the character given number of times.If ,however, the integer is missing the function prints the character twice.
karthik16
0
Newbie Poster
Recommended Answers
Jump to PostFirst off, we don't do other people's homework for them. Second, we don't do other people's homework for them. And third, we don't do other people's homework for them. Sensing a pattern here yet?
No one here will simply hand you a solution on a silver platter. If you …
Jump to Post1.Write a C++ function that intakes 2 arguments: a character and an integer and prints the character given number of times.If ,however, the integer is missing the function prints the character twice.
Do you know how to write a for loop? Write one that uses a range of [0, counter). …
All 6 Replies
Schol-R-LEA
1,446
Commie Mutant Traitor
Featured Poster
Fbody
682
Posting Maven
Featured Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Dakot
14
Light Poster
Fbody
commented:
You've been around long enough, and have enough posts. You should know better by now.
-3
Srivatsa_1
0
Newbie Poster
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
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.