I am a newbie and would appreciate it if someone could
answer my question. Why won't the following code yield
the remainder:

amount = principle *(100 + rate) / 100;
amount2 = amount/ 100;
amount3 = amount % 100;