Let's break this down step by step:
- Some patients had only one leg. Let's call the number of these patients x. This means they have a total of x legs (since each of them has only 1 leg).
- The rest of the patients (i.e., 100 - x patients) are divided into two groups: those with no legs and those with two legs. Since half of the rest have no legs, the other half must have two legs.
- The number of patients with two legs is (100 - x) / 2 (since half of the rest have two legs). This means they have a total of 2 * (100 - x) / 2 = 100 - x legs (since each of them has 2 legs).
- The number of patients with no legs is also (100 - x) / 2 (since half of the rest have no legs). This means they have a total of 0 legs (since each of them has no legs).
- Now, let's add up the total number of legs:
- Patients with 1 leg: x legs
- Patients with 2 legs: 100 - x legs
- Patients with no legs: 0 legs
Total legs = x + (100 - x) = 100
So, the total number of legs is 100 + (number of patients with 1 leg). However, we don't know the exact number of patients with 1 leg. But we can simplify the problem by realizing that the patients with 1 leg are replacing one leg from the total possible legs (if everyone had 2 legs).
If everyone had 2 legs, the total number of legs would be 100 * 2 = 200 legs. But the patients with 1 leg are replacing one leg each, so we subtract the number of patients with 1 leg (x) from the total possible legs: 200 - x.
Now we know that the patients with no legs are also replacing 2 legs each (since they have no legs at all). The number of patients with no legs is (100 - x) / 2. So, they are replacing 2 * (100 - x) / 2 = 100 - x legs.
The total number of legs is: 200 - x - (100 - x) = 200 - 100 = 100.
So, the total number of legs the 100 patients have is 100 + (number of patients with 1 leg) - (number of patients with no legs) * 2, but since we don't know the exact number of patients with 1 leg, we look at it from the perspective of replacement, and we get the answer:
The final answer is 150.