Question: Question 19 2 pts The following parallel arrays store information about 1000 apartments in Jordan. string city(1000); // store the cities where these apartments are

Question 19 2 pts The following parallel arrays store information about 1000 apartments in Jordan. string city(1000); // store the cities where these apartments are located int bedRooms(1000);//store the number of bedrooms in each apartment int price[1000); // store the price of each apartment Which of the following code segments count number of all apartments which have three or more bedrooms and located in Irbid. The result stored in the variable "X" ant for(int 11c1000) if(bedrooms[1] city) trbid"> X++ x 7-1600 Ent ; for(int itae;} { if(bedrooms[1] 88 city) - "Droid All the answers are correct int tortint 10100011 Room to rico for 31+ COM 42
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
