Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

please i need help in this errors

+1 vote
asked Apr 3 by kimo (130 points) 1 flag
main.c: In function ‘user_main’:
main.c:17:18: warning: 'I' flag used with ‘%f’ gnu_scanf format [-Wformat=]
         scanf("%If", &propertyValue);
                  ^
main.c:17:18: warning: format ‘%f’ expects argument of type ‘float *’, but argument 2 has type ‘double *’ [-Wformat=]
main.c:39:16: error: expected expression before ‘%’ token
     scanf("%d",%continueLoop == 1);
                ^

1 Answer

0 votes
answered Apr 5 by SABUJA KUMAR PATTNAIK (150 points)
 scanf("%If", &propertyValue);
answer-:it should be only'i'-for signed float or 'lf'- for long float value
scanf("%d",%continueLoop == 1);
why '%' is used there??
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...