Question: Please solve quickly, and I'll give you a like for sure Question 11 2 pts The following parallel arrays store information about 1000 apartments in

![in Jordan. . string city[1000]; // store the cities where these apartments](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f2fbdf2fe98_22266f2fbdec3d0f.jpg)
Question 11 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 calculate the average price of all apartments which have three or more bedrooms and located in Irbid. The result stored in the variable "x". int x; for(int i=0;i-3 88 city[1] = "Irbid") X ++ price[1]: x 1080 int x=0; for(int i=0;i=3 && city[i] != "Irbid") x += price[i]; } x /=1000; o "Irbid") int for(int i=0;i=3 && city[i] X++; } x /-1000; int Xw; for(int i=0; i=3 && city[i] == "Irbid") X + price[i]; X-1000; int x=0; for(int i=0;i=3 && city[i] == "Irbid") x += price[i]; } X /=1000; O All the answers are correct O int x=0; for(int i=0;i=3 && city[i] == "Irbid") X++; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
