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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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 28 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 }
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply