I am working on a application for figuring how much of each kind of coin One should get back when they give say 99 cents as the amount of change. I have a way to do it which involves simple integer division and subtraction but i was wondering if anyone knew a way to do it with the modulus operator to make it less bulky
Ryan61343 0 Newbie Poster

ztini
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.