Question: Consider the client-server application in Section 17 .4.2. Characterize each of the following modifications as simple or complex and briefly discuss how it could be
Consider the client-server application in Section 17 .4.2. Characterize each of the following modifications as "simple" or "complex" and briefly discuss how it could be accomplished. (a) Revise the program so that a voter may vote for only one candidate, rather than one or more. (b) Revise the program so that any number of candidates can be on the ballot, that number being provided by an argument to the server. (c) Revise the program so that each voter can see the cunent values of the shared variable tally, both at the beginning of the session and after casting the ballot.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
