Question: Complete the second PrintSalutation function to print the following given personName Holly and customSalutation Welcome: Welcome, Holly ---------------------------- #include #include using namespace std; void PrintSalutation(string
Complete the second PrintSalutation function to print the following given personName "Holly" and customSalutation "Welcome":
Welcome, Holly
----------------------------
#include
void PrintSalutation(string personName) { cout << "Hello, " << personName << endl; return; }
// Define void PrintSalutation(string personName, string customSalutation)...
double ConvertToInches(double numFeet,double numInches) { return ConvertToInches(numFeet) + numInches; } int main() { PrintSalutation("Holly", "Welcome"); PrintSalutation("Sanjiv");
return 0; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
