Question: You have a 2 client and server, server will ask the client 1 about his country, then depend on this country server will select

You have a 2 client and server, server will ask the client

You have a 2 client and server, server will ask the client 1 about his country, then depend on this country server will select the city randomly .then client 2 will try to guess the city of the client 1.the client have 2 tries to guess , then the server must tell the client 2 if he pass or failed. The countries and cities: Jordan : {Amman , Irbid, Aqaba , jarash } . Syria: { Demashq , Hems, halab, dara'a}. Phelasteen : {ghazza ,alquds, ramallah,,yafa}.

Step by Step Solution

3.43 Rating (150 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Step... View full answer

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!