<think>
Okay, let's see. The user wants me to fix the gross_price function. The current code is adding the rate directly to the net price. But the problem says that the tax is a whole percent, and the rate is in pence, not as a percentage. Oh right, the original code is just adding the rate as is, but that's not correct.

Wait, the problem says that the tax is a whole percent. So the rate is a percentage, but the function is supposed to calculate the tax in pence. Wait, the original code is adding the rate as a number of pence, but maybe the rate is given as a percentage. Wait, the problem says that the rate is a number of pence instead of a percentage. Wait, the original code is wrong because the rate is supposed to be a percentage, but the function is adding it as pence. Wait, the user says that the tax is added as a whole percent, but the rate is given as a number of pence. Wait, maybe the rate is a percentage, but the function is supposed to calculate the tax based on that percentage. Wait, the problem says that the rate is a number of pence instead of a percentage. So the original code is wrong because it's adding the rate as pence, but the rate is actually a percentage. Wait, no, the problem says that the rate is a number of pence, but the tax is a whole percent. Wait, I'm getting confused.

Let me re-read the problem. The task says: "gross_price adds a whole-percent tax to a net price and returns whole pence, and it adds the rate as a number of pence instead of as a percentage. Fix it. The tax is rounded down, and a rate of zero leaves the price exactly as it was."

Oh right, the original code is adding the rate as is, but the rate is supposed to be a percentage. Wait, the problem says that the rate is a number of pence instead of a percentage. Wait, maybe the rate is given as a percentage, but the function is supposed to calculate the tax based on that percentage. Wait, the problem says that the rate is a number of pence, but the tax is a whole percent. Wait, maybe the rate is a percentage, but the function is supposed to calculate the tax as a percentage of the net price. But the original code is adding the rate as a number of pence, which is incorrect.

Wait, the problem says that the tax is a whole percent. So the rate is a percentage (like 10% tax), but the function is supposed to calculate the tax in pence. So for example, if the net price is 100 and the rate is 10 (percent), then the tax is 10% of 100, which is 10 pence. But the original code is adding the rate as 10, which would be 10 pence. Wait, but that's correct? Wait, maybe the rate is given as a percentage, but the function is supposed to calculate the tax as (rate / 100) * net. But the original code is adding the rate directly, which would be wrong.

Wait, the problem says that the rate is a number of pence instead of a percentage. So the original code is wrong because the rate is supposed to be a percentage. Wait, the problem says that the rate is a number of pence, but the tax is a whole percent. So maybe the rate is given as a percentage, but the function is supposed to calculate the tax as (rate / 100) * net. But the original code is adding the rate