jes, the problem is solved.
Thanks, vart
Type: Posts; User: alfredd
jes, the problem is solved.
Thanks, vart
i was able to solve the problem of 5-cent "-1" by using for(k=temp4;k>0;k--). However, i cant do that with other loops. For example
How many cents ? >100
prints a "-1" on 10-cent coin when 100 is...
I am new to C++/C programming and i was doing a little practice with "for" loops.
The program asks the user to enter a sum of money and prints all possible ways to pay the sum with the following...