C语言代码,完全看不懂提示,求大佬讲解。谢谢!
a.c:Infunction‘main’:a.c:10:14:warning:comparisonslike‘X<=Y<=Z’donothavetheirmathemat...
a.c: In function ‘main’:
a.c:10:14: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses]
else if (3 <f <13)
^
a.c:12:8: warning: statement with no effect [-Wunused-value]
else (f >= 13)
^
a.c:13:3: error: expected ‘;’ before ‘fm’
fm = 3.0*f-9 ;
^
a.c:6:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %d",&f,&t);
^ 展开
a.c:10:14: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses]
else if (3 <f <13)
^
a.c:12:8: warning: statement with no effect [-Wunused-value]
else (f >= 13)
^
a.c:13:3: error: expected ‘;’ before ‘fm’
fm = 3.0*f-9 ;
^
a.c:6:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %d",&f,&t);
^ 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询