Write a program that allows you to place n people in a


1. Rewrite the Console application that uses an iterator-based linked list as a Windows application.

2. According to legend, the 1st-century Jewish historian, Flavius Josephus, was captured along with a band of 40 compatriots by Roman soldiers during the Jewish-Roman war. The Jewish soldiers decided that they preferred suicide to being captured and devised a plan for their demise. They were to form a circle and kill every third soldier until they were all dead. Joseph and one other decided they wanted no part of this and quickly calculated where they needed to place themselves in the circle so that they would both survive. Write a program that allows you to place n people in a circle and specify that every mth person will be killed. The program should determine the number of the last person left in the circle. Use a circularly linked list to solve the problem.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a program that allows you to place n people in a
Reference No:- TGS01715957

Expected delivery within 24 Hours