<<返回2003-11


祝光光节所有光光生日快乐!alma_lee2003-11-11 08:35
lao_pan,祝你早日脱离光光战队:)



class single_man老潘2003-11-11 09:49
{
private int _nAge=0;
private int _nMoney=0;
private String _strClass="";
private String _strJob="";
private boolean _bSingleNow=true;

public single_man(int nAge, int nMoney, String strClass, String strJob, boolean bSingleNow)
{
_nAge=nAge;
_nMoney=nMoney;
_strClass=strClass;
_strJob=strJob;
_bSingleNow=bSingleNow;

init();
}

private void init()
{
if(_nAge>50) system.out("No hope!\n");
else if(_nAge<16) system.out("Too ealy!\n");

if(_nMoney>1e6) system.out("Good!\n");
else if(_nMoney<10000) system.out("Badly!\n");

if(_strClass.equals("资本家")) system.out("Best!\n");
else if(_strClass.equals("地主")) system.out("Good!\n");
else if(_strClass.equals("贫下中农")) system.out("Badly!\n");

if(_strJob.equals("老板")) system.out("Best chance!\n");
else if(_strJob.equals("经理")) system.out("Perhaps!\n");
else if(_strJob.equals("IT工程师")) system.out("No hope!\n");

if(_bSingleNow) system.out("What a single!\n");
else system.out("What a MBA!\n");

}
}
呵呵阳光小麦2003-11-11 10:14
老潘,贴一堆啥东东阿,俺们文盲看不懂啊!
PS,为啥MBA和Single对应阿? 怪哉
Let's take Micheal as an example!Tracyy2003-11-11 10:29
Age==>neither"No hope" nor "Too early"
Money==>???(I don't know)
Class==>资本家,Best(排除法得出)
Job==>???(I don't know)

What a single!

(Micheal, MBA is not for guys like you:
Married But Available--MBA)
谁写得倒霉程序啊!chenyan2003-11-11 10:52
strJob.equals("IT工程师")) system.out("No hope!\n");
陈老大抱怨什么呀呀2003-11-11 11:48
事实是……
strJob.equals("IT人")) system.out("No hope!\n");呀呀2003-11-11 11:49
对吧
呵呵_华_叔_2003-11-11 16:01
这是什么语法?在哪里能编译通过啊?
原来11/11系光混节呀呀2003-11-11 17:18

12/21系吧系携手节呢?有没人响应一起过节?
狂晕yumi_li2003-11-13 10:37
谁能解释一下老潘写的那一串一串的洋文是什么意思呀。
12/21chenyan2003-11-13 10:47
12/21 应该是灯泡节吧,或者是插足节