Question: Which of the following is valid C + + code that prints out no one is here when the variable people is zero? Which

Which of the following is valid C++ code that prints out "no one is here" when the variable people is zero?
Which of the following is valid C++ code that prints out "no one is here" when the variable people is zero?
if (people ==0)
cout <<"no one is here";
cond (people ==0)
cout <<"no one is here";
cout <<"no one is here" if (people ==0);
when (people ==0)
cout <<"no one is here";

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 Programming Questions!