Question: Hello on C++, I need help for someone to help me fix these 2 errors for undeclared identifier 'cout'; and error #2 for the expected

Hello on C++, I need help for someone to help me fix these 2 errors for undeclared identifier 'cout'; and error #2 for the expected variable name in 'lambda capture list'. Had a hard time figuring it out. Thanks
Hello on C++, I need help for someone to help me fix

eplit Features Careers Blog Pricing Jam Teams for Education Log in C++ Run & Share 7 1 include -79) printf("NBA"); if (people(1) 15 11 (people(1) 73) 16 printf("LB"): 17 printf("Tennis"); 18 printf("L"); 19 > 20 if (people[1] 71) 21 printf("PGA"): 22 printf("soccer"); 23 } 24 if (peoplefil 70) 25 printf("UFC"); 26 printf("MASCAR"); 27 > clang-7-pthread -stdCh17 - main main.cpp noin.cpp:4:5: error: use of undeclared identifier 'cout'; did you mean 'std::cout'? cout > return 0; 34 35 )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!