Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

这样的题都可以错!这错在哪里了,我都运行成功了呀!

Posted by c0500430040 at 2005-02-25 19:40:50 on Problem 1000
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator