Write a function printshampooinstructions with int


Write a function PrintShampooInstructions(), with int parameter numCycles, and void return type. If numCycles is less than 1, print "Too few.". If more than 4, print "Too many.". Else, print "N: Lather and rinse." numCycles times, where N is the cycle number, followed by "Done.". End with a newline. Example output for numCycles = 2:

1: Lather and rinse. 2: Lather and rinse.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Write a function printshampooinstructions with int
Reference No:- TGS01145717

Now Priced at $10 (50% Discount)

Recommended (95%)

Rated (4.7/5)