expand icon
book C++ Programs to Accompany Programming Logic and Design 8th Edition by Jo Ann Smith cover

C++ Programs to Accompany Programming Logic and Design 8th Edition by Jo Ann Smith

Edition 8ISBN: 978-1285867410
book C++ Programs to Accompany Programming Logic and Design 8th Edition by Jo Ann Smith cover

C++ Programs to Accompany Programming Logic and Design 8th Edition by Jo Ann Smith

Edition 8ISBN: 978-1285867410
Exercise 13
Writing Functions that Require a Single Parameter
In this exercise, you use what you have learned about writing functions that require a single parameter to answer Questions.
Given the following function headers and variable declarations, write a function call:
a. string petName = "Mindre"; void displayPetName(string petName)
b. int currentMonth; void printBirthdays(int month)
c. string password; void checkValidPassword(string id)
Explanation
Verified
like image
like image

a. Function call for function header voi...

close menu
C++ Programs to Accompany Programming Logic and Design 8th Edition by Jo Ann Smith
cross icon