Questions tagged [getfloat]
The getfloat tag has no usage guidance.
3
questions
-3
votes
1
answer
544
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
1
answer
2k
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
1
answer
498
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....