question archive Suppose we have a type of virus that causes severe respiratory syndrome and can transmit to other people if they get close

Suppose we have a type of virus that causes severe respiratory syndrome and can transmit to other people if they get close

Subject:Computer SciencePrice: Bought3

Suppose we have a type of virus that causes severe respiratory syndrome and can transmit to other people if they get close. The virus causes severe illness that is more likely in elderly patients and those with certain underlying medical conditions. Develop a C++ program for scientists to study the impact of vaccination by developing a simulator. In the simulator, N users will walk in an area of X meter * X meter. Some users randomly walk (i.e., random direction with random step length), and others walk along straight lines. When a user reaches the boundary of the area, the user may change the walking direction to a random direction within the area and continue. When two users move closer within C meters, the virus can transmit to another user. Initially we have R contagious users and V vaccinated users among the total of N users. We assume that vaccinated users will not be transmitted or become contagious (CLAIM: which may not be the case in reality). In your program, it receives inputs from scientists, e.g., N, X, C, R, and V. You may add other variables for scientists, e.g., walking speed, social distancing rules, percentage of users that violates the social distancing rules, possibility of virus transmission within C meters, etc. The program receives inputs from scientists and visualizes users with different colors indicating their status (e .g., vaccinated, contagious, others). (You can use external libraries for textfbackground coloring for this topic) The users" locations, their statuses, and total number of users in different statuses should be updated in the simulation. Requirements Your program MUST be implemented using text-based mode only. No GUI is allowed. You are only allowed to use the techniques and libraries introduced in this course. For string manipulation, you are allowed to use any of the C-string or string object approaches. If you need to use other build-in/external libraries other than those speci?ed above, seek the consent from the lecturers ?rst and provide with proper justi?cation.

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Related Questions