Questions tagged [getfloat]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-3
votes
1answer
526 views

What is the GetFloat function?

GetFloat: I do not quite understand what GetFloat is. I tried to find my answer in the lecture videos, but I didn't get it, help? Thanks.
0
votes
1answer
1k views

Problem Set 1 - greedy.c - Program hangs when GetFloat() used

I have a problem with my code for "greedy.c". Essentially, the user is asked to enter an amount, but when the user enters an amount other than 0, the program stops and does not function any further, ...
0
votes
1answer
473 views

GetFloat() is not working well in greedy

I just try to run this simply code but wtihout success. Seems that there is no exit from the loop or even getFloat() is not working as printf inside do while loop is not executed. https://gist.github....