他通常在星期一到星期五工作,有时,He works on Saturdays [](or)Sundays 中间那个or我改成了and对不对

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/27 08:33:02
他通常在星期一到星期五工作,有时,He works on Saturdays [](or)Sundays 中间那个or我改成了and对不对
xTMOA+MHۣу^'aKeN3kCIk@jQL5aP>?3lOߝ]Jbc3yywv3圿֖E#Zm"[+~&x[۫րlͭ[*=@mI$)\[ZLd}Gzs.3c&җxz\v<\5M޵Ζh"h?7* +$e o)6uHԦ↘(֗cRu;WQ U1+^ zSs(s`>frW78"ܡazP J}QXSg

他通常在星期一到星期五工作,有时,He works on Saturdays [](or)Sundays 中间那个or我改成了and对不对
他通常在星期一到星期五工作,有时,He works on Saturdays [](or)Sundays 中间那个or我改成了and对不对

他通常在星期一到星期五工作,有时,He works on Saturdays [](or)Sundays 中间那个or我改成了and对不对
对的
and 表并列一般用在陈述句中
or 一般则用在疑问句或者是否定句中

介词和文中表达的意思不对

他通常在星期一到星期五工作
He usually works from Monday to Friday.
He doesn't work both Saturday and Sunday
星期六和星期日他通常不工作
He works on Saturdays and Sundays
他通常在星期六和星期日工作
He works on Saturda...

全部展开

他通常在星期一到星期五工作
He usually works from Monday to Friday.
He doesn't work both Saturday and Sunday
星期六和星期日他通常不工作
He works on Saturdays and Sundays
他通常在星期六和星期日工作
He works on Saturdays and Sundays
他通常在星期六 或者 星期日 工作 (一周工作一天,星期六 或 星期日)

收起

we simply use 1-7 standing for monday to sunday(or 0-6, sunday-saturday). refer to the following logic.
bool IsUsual(int dayNum)
{
if(dayNum >= 1 || dayNum <= 5) return true;
...

全部展开

we simply use 1-7 standing for monday to sunday(or 0-6, sunday-saturday). refer to the following logic.
bool IsUsual(int dayNum)
{
if(dayNum >= 1 || dayNum <= 5) return true;
else if(6 == dayNum || 7 == dayNum) reurn false; //here is the answer
else printf("error: invalid input!");
}
the symbol "||" means "or" in c programming language.

收起