I'm visiting an unfamiliar state. This state has a sales tax of 6.1% but I don't know this. All I know is the tax rate is of the form a.b
% where a
are single digits.
I buy an item at a store and am able to deduce the tax rate from the item's price and the tax amount as listed on the receipt.
What is the minimum cost of the item that would allow me to make such a deduction?
Note: The tax amount listed on the receipt is rounded to the nearest cent.
(In reply to re: computer solution
by Steve Herman)
Indeed, you're right. While just going into debugging mode now, I highlight what's in parentheses in the int() function and it says 32, but it claims the int function of that is 31, so even the debug feature is not showing the 31 with a string of 9's. I must make a mental note that even the percentages as fraction should be carried out to be non-fractional in the binary world.
Posted by Charlie
on 2018-08-22 13:11:22