Hi good day.. i need your help with my exercises..
i need to know how to compute the cents.. in any given amount.. in denominations.. for C programming
Thanks..
Given amount : 1886.25
if (amount>=1000)
x = amount / 1000;
amount % 1000;
printf("%d",&x);
Answer is : 1
but for the cents.. i dont know how to calculate it.. please help.. Thanks..