Page 1 of 1

C++ please. I've been getting it to print, but won't change for the second line of output?

Posted: Mon Jun 06, 2022 2:01 pm
by answerhappygod
C Please I Ve Been Getting It To Print But Won T Change For The Second Line Of Output 1
C Please I Ve Been Getting It To Print But Won T Change For The Second Line Of Output 1 (42.19 KiB) Viewed 29 times
CHALLENGE ACTIVITY 390414.25/1404.gx3zqy/ 6.4.3: Print functions. Jump to level 1 Read four strings from input and call PrintAirportCode() to output as follows. Ex: If the input is WAW DEN Warsaw Denver, then the output is: WAW is Warsaw's airport code. DEN is Denver's airport code. 1 #include <iostream> 2 using namespace std; 3 4 void PrintAirportCode (string var1, string var2) { 5 cout << var1 << " is " << var2 << "'s airport code." << endl; 6} 7 8 int main() { 9 * Your code goes here */ return 0; 10 11 12 13 }