how do i make my calculator calculates %?
how do i make my calculator calculates %?
Make it recognize '%', then do c = a % b.
Or did you mean percentages?
My best code is written with the delete key.
45% of 100 is just 100 X (45/100)
Or 100 * 0.45
Whatever percent they enter divide it by 100 then multiple that result times what you want that percent of.
thank youu