adjustedAmount = lround((double)amountPayable/(double)amountPayable);
Like this? Sorry, still newbie in C..
Type: Posts; User: Ngoo Jia Xun
adjustedAmount = lround((double)amountPayable/(double)amountPayable);
Like this? Sorry, still newbie in C..
Use ceil and float to round up?
Okay.. Thanks..
So i should change all the floats to int?
Any example?
I'm sorry.. My lecturer keep on say this is C++ programming..
I can't align the table and don't know how to round up the adjusted amount payable.. I tried everything on earth.. Any expert can teach me the solution? TT
#include <stdio.h>
#include...