prog.c: In function ‘main’:
prog.c:16:11: error: stray ‘\342’ in program
printf(“r=%f, s1=%f, b1=%f” , r, s1, b1,);
^
prog.c:16:12: error: stray ‘\200’ in program
printf(“r=%f, s1=%f, b1=%f” , r, s1, b1,);
^
prog.c:16:13: error: stray ‘\234’ in program
printf(“r=%f, s1=%f, b1=%f” , r, s1, b1,);
^
prog.c:16:16: error: expected expression before ‘%’ token
printf(“r=%f, s1=%f, b1=%f” , r, s1, b1,);
^
prog.c:16:34: error: stray ‘\342’ in program
printf(“r=%f, s1=%f, b1=%f” , r, s1, b1,);
^
prog.c:16:35: error: stray ‘\200’ in program
printf(“r=%f, s1=%f, b1=%f” , r, s1, b1,);
^
prog.c:16:36: error: stray ‘\235’ in program
printf(“r=%f, s1=%f, b1=%f” , r, s1, b1,);
^
prog.c:17:4: error: ‘return0’ undeclared (first use in this function)
return0
^~~~~~~
prog.c:17:4: note: each undeclared identifier is reported only once for each function it appears in
prog.c:17:11: error: expected ‘;’ before ‘}’ token
return0
^
;
}
~
prog.c:6:11: warning: variable ‘b1’ set but not used [-Wunused-but-set-variable]
float r,b1,s1,x,
^~
prog.c:12:63: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
printf("Введіть значення змінної x: "); scanf("%f", &x);
^~~~~~~~~~~~~~~