| ||||||||||
| 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 | |||||||||
Re:还有一个问题,两个字符型变量能直接比较吗?还是得ord之后?In Reply To:还有一个问题,两个字符型变量能直接比较吗?还是得ord之后? Posted by:kicc at 2005-09-12 08:44:44 program p1000; var a,b:integer; c,d:char; begin c:='a'; d:='b'; read(a,b); if c<d then write(a+b); end. Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator