The ceil command is causeing my program to not compile.. is there another command that would have the same effect. to round a number up to it's next whole #.
here is my program and at the end I included the errors that my compiler showed.. please help me fix them. Thanks, john
-----------------------------------------------------
#include <stdio.h>
int main(void)
{
int balance, interest, min_payment_one, min_payment_two, balance_two, years...
I am writting a simple program using loops to figure out credit card dept and how long it will take to pay off your card with a minimum payment. How would I make it so when I calculate the months that it would take to payoff your dept that it rounds up one month. Thanks for your help.
-John
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.