Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (anonymous):

C++ help needed: Create a new project called Quiz2. In that program, you should create a function called dotsAndStars that takes two parameters, called numDots and numStars, in that order. It should then print out one line of (numDots) dots and (numStars) stars, followed by and end line character. It should not return any parameters. For instance, if you write: dotsAndStars (3, 5); Your code should print: ...*****

OpenStudy (anonymous):

Theres a second part too the question but I'd like to get a hold on this part of the question first.

OpenStudy (anonymous):

void dotsAndStars (int numberOfDots, int numberOfStars) { for(int i=0; i < numberOfDots; i++) printf("."); for(int i=0;i<numberOfStars;i++) printf("*"); printf("\n"); }

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!