Final answer:
Janice has 21 apples.
Step-by-step explanation:
To find the number of apples Janice has, we need to find a number that satisfies both conditions. Let's use trial and error.
If Janice has 12 apples, she can put them in packets of 3. In this case, she will have 4 packets with 3 apples each, which is a total of 12 apples. Since she has 1 apple left, this doesn't satisfy the first condition.
Alternatively, if Janice has 12 apples and puts them in packets of 4, she will have 3 packets with 4 apples each, which is a total of 12 apples. But since she has 2 apples left, this doesn't satisfy the second condition either.
We can continue this trial and error process until we find a number that satisfies both conditions.
Let's try 21 apples next. If Janice has 21 apples and puts them in packets of 3, she will have 7 packets with 3 apples each, which is a total of 21 apples. Having 1 apple left satisfies the first condition.
Now, let's check if 21 apples in packets of 4 satisfies the second condition. If Janice has 21 apples and puts them in packets of 4, she will have 5 packets with 4 apples each, which is a total of 20 apples. Having 2 apples left satisfies the second condition.
Thus, Janice has 21 apples.