You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
int totalPeople=0, peopleSkipped=0, luckyPersonNumber=0,a=1;
cout << "The Joesphus problem involves everyone standing in a circle. Counting proceeds around the circle. After a specified number of people are skipped, the next person commits suicide or is killed with a sword. This is repeated until only one person remains, and who is free to leave.\n\n ";
cout << "How many people are there in the circle?\n";