下列程序段的执行结果为()。 a=95 If a > 60 Then degree=1 If a > 70 Then degree=2 If a > 80 Then degree=3 If a > 90 Then degree=4 Print"degree=";degree
A. 8 9
B. 9 8
C. 程序有错误
D. 9 9
参考答案:A
解析:C++语言中析构函数是在程序退出不用该类的对象时进行调用。
下列程序段的执行结果为()。 a=95 If a > 60 Then degree=1 If a > 70 Then degree=2 If a > 80 Then degree=3 If a > 90 Then degree=4 Print"degree=";degree
A. 8 9
B. 9 8
C. 程序有错误
D. 9 9
参考答案:A
解析:C++语言中析构函数是在程序退出不用该类的对象时进行调用。
完形填空。 | ||||
What's a typical (典型的) day like in Buenos Aires (布宜诺斯艾利斯)? For Diego, who lives with his parents in a house in Buenos Aires, a school day starts 1 . If his mother doesn't wake him up at 6:00 a.m., his dog Luna will. Diego 2 himself quickly and takes Luna for a walk. Then it's time to get ready for school. Diego puts on his school clothes and eats a quick 3 . He slings (抛) his heavy schoolbag over his shoulder and gets onto the city bus for the 25 minutes' 4 to school. Diego is in the seventh year of primary school. Classes start at 8:00 a.m. with math, followed 5 history and music. At 1:00 p.m., Diego and his friends have their lunch. After lunch, Diego heads to English class. This is one of his favorites, 6 the students practise English by writing e-mails to students in 76 countries. When the 8 class ends, Diego and his friends 9 the bus to a city park to play football. Then he's back home to start on homework. If he finishes in time, Diego will cook dinner. His parents come home from work at about 8:00 p.m., and 10 they sit down to dinner. After dinner, Diego does some reading or watches TV before getting ready for bed! | ||||
|