So we have--U.S. Government issues bills and that's less than or equal to one year and they pay no interest.
美国政府发行的短期国库券,期限通常小于或等于一年,且不付息
OK. If last minus first is greater than or equal to 2-- sorry, less than 2, then either look at this thing or look at that thing.
大于等于儿,抱歉,是小于二,看看这里或者那里,这就是我说的要特别小心的地方。
We call an instrument of the U.S. Treasury with a maturity less than or equal to one year--we call that a bill and they used to be the only discount bonds issued by the U.S. Government.
我们把期限小于或等于一年的,国库券品种称为短期国库券,它们曾是美国政府,唯一发行的贴现债券
-- Else if n is greater than 4 and n is less than 6 -- 7 let's call it medium -- else if n is greater than or equal to 7, -- less than or equal to 10 -- let's call it "big" -- and if the user typed in zero or negative 10 or 20 or whatever, let's just use the all-inclusive else block and just say, "You picked an invalid number."
否则如果n大于4,并且n小于-,我们叫它为中间数--否则如果n大于等于,小于等于10--我们叫它为“大数“,如果用户键入了0或者-10或20或其它的,让我们用一个广泛的else子句,只需要说,“你选了一个非法的数字“
I can either look at my flow chart, or I can look at the code. If I look at the flow chart, it says, I'm at this point. Look at ANS squared. Is it less than or equal to-- sorry, first of all, 0 ANS squared is 0, is it less than or equal to x, yes.
我可以看流程图也可以看我的代码,如果我看流程图的话,流程图这么说的,在这一点,看看ANS的平方,看是不是小于等于-对不起,首先,ANS的平方是。
I test an end test. So the flow chart says, and the tradition was to do this in a diamond shape, I'm going to check if ANS times ANS-- oh, which way did I want to do this x - is less than or equal to x. Now that's a test.
首先进行终结测试,因此流程图就的去,传统的做法是把这个放到一个菱形里面,检查下是否ANS乘以ANS-哦,我刚才是怎么说的来着-是不是小于等于。
应用推荐