Thank you
I modified the code as:
int main(void)
{
printf("Give me an amount: ");
Type: Posts; User: vag3621
Thank you
I modified the code as:
int main(void)
{
printf("Give me an amount: ");
Can you tell me how the sum of coins will work?
What must I do in order getInt function make sense
I am writing a program in c . The idea is to give a money value ;i.e. 2,75 and the program must give an output which will be the minimum number of coins (quarters,dimes,nickels,pennies) needed to...
:confused:
Can anyone tell me how can I create a program in C, that you will write an amount ;i.e. 1.72 $ and the program will give me as output the minimum of coins (pennies,nickels,dimes,quarters)...