| ||||||||||
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 |
请问为什么不对呢?#include<stdio.h> void main() { int a,b,c; scanf("%d,%d",&a,&b); if(a>10||a<0||b>10||b<0) printf("error\n"); else {c=a+b; printf("%d\n",c); } } Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator