设有一结构体类型变量定义如下: struct date { int year; int month; int day; }; struct worker { char name[20]; char sex; struct date birthday; }w1; 若对结构体变量w1的出生年份进行赋值,下面正确的赋值语句是( )。 A: year=1976 B: irthday.year=1976 C: w1.birthday.year=1976 D: w1.year=1976
设有一结构体类型变量定义如下: struct date { int year; int month; int day; }; struct worker { char name[20]; char sex; struct date birthday; }w1; 若对结构体变量w1的出生年份进行赋值,下面正确的赋值语句是( )。 A: year=1976 B: irthday.year=1976 C: w1.birthday.year=1976 D: w1.year=1976
对结构变量 person的出生年份进行赋值时,下列中正确的赋值语句是( )。[br][/br]struct date{int year;int month;int day};[br][/br]struct man[br][/br]{[br][/br]char name|20];[br][/br]char sex;[br][/br]struct date birthday;[br][/br]}person; A: year=1958; B: irthday.year=1958; C: person.birthday.year=1958; D: person.year=1958;
对结构变量 person的出生年份进行赋值时,下列中正确的赋值语句是( )。[br][/br]struct date{int year;int month;int day};[br][/br]struct man[br][/br]{[br][/br]char name|20];[br][/br]char sex;[br][/br]struct date birthday;[br][/br]}person; A: year=1958; B: irthday.year=1958; C: person.birthday.year=1958; D: person.year=1958;
The number of students participating in online courses varies . A: year to year B: year and year C: year by year D: year on year
The number of students participating in online courses varies . A: year to year B: year and year C: year by year D: year on year
This year is the year of Gengzi, and next year is the year of ___________.
This year is the year of Gengzi, and next year is the year of ___________.
已知对学生记录的描述为:[br][/br] struct student { int num; char name[20],sex; struct{ int year,month,day;}birthday; }; struct student stu; 设变量stu中的“生日”是“1995年11月12日”,对“birthday”正确赋值的程序是______。 A: year=1995;month=11;day=12; B: stu.year=1995;stu.month=11;stu.day=12; C: irthday.year=1995;birthday.month=11;birthday.day=12; D: stu.birthday.year=1995;stu.birthday.month=11;stu.birthday.day=12;
已知对学生记录的描述为:[br][/br] struct student { int num; char name[20],sex; struct{ int year,month,day;}birthday; }; struct student stu; 设变量stu中的“生日”是“1995年11月12日”,对“birthday”正确赋值的程序是______。 A: year=1995;month=11;day=12; B: stu.year=1995;stu.month=11;stu.day=12; C: irthday.year=1995;birthday.month=11;birthday.day=12; D: stu.birthday.year=1995;stu.birthday.month=11;stu.birthday.day=12;
判定year是否为闰年的表达式是 A: year % 400 == 0 or year % 4 == 0 and year % 100 <> 0 B: year % 400 == 0 or year % 4 == 0 , year % 100 != 0 C: year % 400 == 0 or year % 4 == 0 and year % 100 != 0 D: year % 400 == 0 or year % 4 == 0 , year % 100 <> 0
判定year是否为闰年的表达式是 A: year % 400 == 0 or year % 4 == 0 and year % 100 <> 0 B: year % 400 == 0 or year % 4 == 0 , year % 100 != 0 C: year % 400 == 0 or year % 4 == 0 and year % 100 != 0 D: year % 400 == 0 or year % 4 == 0 , year % 100 <> 0
21() A: next year B: that year C: this year D: by year
21() A: next year B: that year C: this year D: by year
使用变量year代表年份,以下表示判断year是否为闰年的布尔表达式是 。 A: (year % 4 == 0) and (not(year % 100 == 0)) or (year % 400 == 0) B: (year % 4 == 0) and (not(year % 400 == 0)) or (year % 100 == 0) C: (year % 4 == 0) and (year % 100 == 0) or (year % 400 == 0) D: (year % 4 == 0) or (not(year % 100 == 0)) and (year % 400 == 0)
使用变量year代表年份,以下表示判断year是否为闰年的布尔表达式是 。 A: (year % 4 == 0) and (not(year % 100 == 0)) or (year % 400 == 0) B: (year % 4 == 0) and (not(year % 400 == 0)) or (year % 100 == 0) C: (year % 4 == 0) and (year % 100 == 0) or (year % 400 == 0) D: (year % 4 == 0) or (not(year % 100 == 0)) and (year % 400 == 0)
题:(拓展)下面哪些表达式能够判断某年year不是闰年。 A: not(( year%4==0 and year%100 !=0 ) or ( year%400==0 )) B: not( year%4==0 and year%100 !=0 ) and not ( year%400==0 ) C: year%4!=0 or year%100 ==0 and ( year%400 !=0 ) D: year%4==0 and year%100 !=0 or ( year%400==0 )
题:(拓展)下面哪些表达式能够判断某年year不是闰年。 A: not(( year%4==0 and year%100 !=0 ) or ( year%400==0 )) B: not( year%4==0 and year%100 !=0 ) and not ( year%400==0 ) C: year%4!=0 or year%100 ==0 and ( year%400 !=0 ) D: year%4==0 and year%100 !=0 or ( year%400==0 )
判断year变量为闰年的表达式为()。 A: year%4==0&&year%100!=0&&year%400==0 B: year%4==0||year%100!=0&&year%400==0 C: year%4=0&&year%100<;>;0||year%400=0 D: year%4==0&&year%100!=0||year%400==0
判断year变量为闰年的表达式为()。 A: year%4==0&&year%100!=0&&year%400==0 B: year%4==0||year%100!=0&&year%400==0 C: year%4=0&&year%100<;>;0||year%400=0 D: year%4==0&&year%100!=0||year%400==0