you have two coins in your pocket. Together they are worth 30 cents. one of the coins is not a nickel. What coins do I have in my pocket.

So the other could be a nickel.

you have a quarter and a nickel.

"one of the coins is not a nickel" ... but the other one is ...

To determine the type of coins you have in your pocket, we can use logical reasoning.

Let's assume the two coins are x and y. Since the total worth of the two coins is 30 cents, we can write the equation as:

x + y = 30 cents

Now, we know that one of the coins is not a nickel, which means it cannot be 5 cents. So, we have two possibilities:

1. If x is not a nickel:
In this case, y could be a nickel (5 cents) or any other coin. So, one of the coins is a nickel, and the other coin must be worth 25 cents.

2. If y is not a nickel:
Similar to the first case, x could be a nickel (5 cents) or any other coin. So, one of the coins is a nickel, and the other coin must be worth 25 cents.

In both cases, we can conclude that one of the coins is a nickel (worth 5 cents), and the other coin is worth 25 cents.

Therefore, you have a nickel and a quarter in your pocket.