A few months ago someone figured out how much money to put on a metrocard so that you end up with a zero balance instead of random amounts on your balance that you need to figure out how to even out or just throw away and lose that money. Now that the fare has gone up I'd like to make a new chart. I'm sure there's a way to code this and make it easier but I'm not sure where to start and would appreciate some help with this.

If one apple costs 65 cents, how much will n apples cost?

Do you know how to multiply n*65 for all (positive integer) values of n?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.