I have been trying to fix this code for the last day, and still can't work out where I am going wrong. Can anyone point me in the right direction please? Thanks in advance!
int main(void)
{
// Variables
float f;
int n;
int counter;
do
{
f = get_float("Change: ");
}
while (f < 0);
// Convert float to int
n = round(f * 100);
// Count coins
counter = 0;
// Number of coins
while (n >= 25)