问题 填空题

有以下程序:
main()
int m,n,p:
scanf("m=%dn=%dp=%d",&m,&n,&p);
printf("%d%d%d\n",m,n,p);

若想从键盘上输入数据,使变量m中的值为123,n中的值为456,p中的值为789,则正确的输入是______。

答案

参考答案:m=123n=456p=789
[解析体题考查的是格式输入函数。如果在“格式控制”字符串中除了格式说明以外还有其他字符,则在输入数据时应输入与这些字符相同的字符。根据本题的数据输入形式“scanf("m=%dn=%dp=%d",&m,&n,&p);”说明在输入数据时,必须输入“m=”、“n=”、“p=”字符,且中间不能含有空格。

阅读理解
Suppose you want to go abroad and learn about the foreign exchange in culture in different countries. Here is some information you may need.
Name: Susan Lane       Age: 22
Place: Reykjavik, Iceland, 2010.
Cost: $7,000
Organization: AFS
Experience: “I think it was a turning point in my life. I began to understand more about my own culture by experiencing another culture and seeing how other people live.”
 
Name: Sara Small        Age: 23
Place: Crivitz, Germany, 2012.
Cost: $8,000
Organization: EF Foundation
Experience: “I love the traveling and I made a lot of friends. I found the European school system to be hard but I am fluent now in German so it was worth it I did miss my family and friends in Australia but I would love to do it again.”
 
Name: David Links       Age: 16
Place: Stuttgart, Germany, 2012..
Cost: $6,000
Organization: Southern Cross Cultural Exchange
Experience: “I wanted to try something that was very different in culture. In Germany everything was different but I soon got settled. The family I was with was great and I really feel as though I have a second family.”
 
Name: Tom Jennings      Age: 21
Place: Conflans, France, 2011..
Cost: $7,000
Organization: Southern Cross Cultural Exchange
Experience: “There were times when it was difficult but I liked it, experiencing a different culture. You just have to play each situation as it comes. If there is one thing you learn when you are on a student-exchahge program it is how to take care of yourself.”
 
Name: Linda Marks       Age: 19
Place: Chonburi Province, Thailand, 2010.
Cost: $3,500
Organization: Rotary International
Experience: “There are lots of ups and downs, but you always come back for more. I had a few problems but there was always someone to turn to and that was great.”
 
小题1: According to the information, taking part in a foreign exchange program can cost _________.
A.from $6,000 to $8,000B.from $3,500 to $8,000
C.anything from $3,500D.no more than $7,000
小题2:Which organization held more foreign exchanges?
A.EF FoundationB.AFS
C.Rotary InternationalD.SCCE
小题3:The students who refer to both the good and bad times as an exchange student include _________.
A.Susan Lane and Sara SmallB.Linda Marks and David Links
C.Tom Jennings and Linda MarksD.Susan Lane and Tom Jennings
小题4:As a result of his experience in the foreign exchange program Tom Jennings learnt to become _________.
A.independent and adaptableB.determined and independent
C.selfish and defensiveD.defensive and determined
小题5:If a student wanted to take part in a foreign exchange program, but had not enough money, then the best place would be _________.
A.Iceland and AmericaB.Thailand and France
C.Germany and IcelandD.Germany and Thailand
单项选择题