It says that ' input of 4.2 yields output of 18 \ expected output, but not "18" '. What is the difference between 18 and "18" ?! Here is my code:
#include <stdio.h>
#include <cs50.h>
#include <math.h>
int main(void)
{
float i;
int coins = 0;
do {
printf("How much money is owed?");
i = GetFloat();
}
while( i<=0);
i *= 100 ;
int money = roundf(i) ;
while(money >=25)
{
money -= 25;
coins++ ;
}
while(money >=10)
{
money -= 10;
coins++;
}
while(money >=5)
{
money -= 5;
coins++ ;
}
while(money >=1)
{
money -= 1;
coins++ ;
}
printf("%d", coins) ;
}