Question: Faculty of Computer Information Technology Software Engineering Department Client Server System (SE371) Assignment 5 Random Guess of a number using Threads Requirements in java language.
Faculty of Computer Information Technology Software Engineering Department Client Server System (SE371) Assignment 5 Random Guess of a number using Threads Requirements in java language. 1- The server shall serve 2 clients 2- The server shall generate random number between 1 and 10 3- Each client shall try to guess the number generated by the server a. Client (1 or 2) generates a random number between 1 and 10 b. Client (1 or 2) sends the number to the server c. If the number sent by client is the same as the number generated by the server then i. The server informs both clients that the number has been guessed ii. The server and the clients will print the number on the screen iii. The server shall terminate v. Both clients shall terminate 4- The server starts serving clients 1 or 2 randomly ** You must using threads
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
