Hi! I don’t code C, so I may be wrong, but my guess would be that the text input is being received as a string, and needs to be converted to a number before you can determine if it is less than 50.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (2)
I can't test it now but you have to use %f for scan a float type.
%d is for int type, if you want use it change the type of variable mark.
Hi! I don’t code C, so I may be wrong, but my guess would be that the text input is being received as a string, and needs to be converted to a number before you can determine if it is less than 50.