| ||||||||||
Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
这样的题都可以错!这错在哪里了,我都运行成功了呀!main() {int a,b; printf("\nPlease input your two numbers.a=? b=?(0<=a,b<=10)\n"); scanf("%d %d",&a,&b); if(a>=0||a<=10||b>=0||b<=10) {a=a+b; printf("\na+b=%d\n",a); } else printf("error"); } Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator