c语言:illegal else without matching if
c语言:illegal else without matching if
日期:2018-02-27 09:50:11 人气:2
#include int main(){ int x,y; scanf("%d",&x); if(x>=1) { y=500; } else { if(x>=0) { y=0; } else { y=-500; } } printf("%d\n",y); return 0;}老师一再要求按格式,敲带吗,这样才能体现出我们的工作量