题目内容

下面的程序执行时,可以从键盘中输入一个正整数,然后把该数的每位数字按逆序输出。例如输入7685,则输出5867,输入1000,则输出0001。请填空。 Private Sub Command1_Click() Dim x As Integer x=InputBox("请输入一个正整数") While x>______ Print x Mod 10 x=x\10 Wend Print______ End Sub

查看答案
更多问题

设窗体上有一个名称为HScroIII的水平滚动条,要求当滚动块移动位置后,能够在窗体上输出移动的距离(即新位置与原位置的刻度值之差,向右移动为正数,向左移动为负数)。下面是可实现此功能的程序,请填写。 Dim______As Integer Private Sub Form_Load() pos=HScroIII.Value End Sub Private Sub HScroIII_Change() Print______-pos pos=HScroIII.Value End Sub

设窗体上有一个名称为CD1的通用对话框,一个名称为Text1的文本框和一个名称为Command1的命令按钮。程序执行时,单击Command1按钮,则显示打开文件对话框,操作者从中选择一个文本文件,并单击对话框上的“打开”按钮后,则可打开该文本文件,并读入一行文本,显示在Text1中。下面是实现此功能的事件过程,请填空。 Private Sub Command1_Click() CD1.Filter="文本文件1*.txt(Word文档)*.doc" CD1.Filterinder=1 CD1.ShowOpen If CD1.FileName<>" "Then Open______For Input As # 1 Line Input #1,ch$ Close #1 Text1.Text=______ End If End Sub

As civil wars erupted throughout the Roman Republic in the 1st century B. C., country dwellers may have fled to cities. Before they left, some people buried their valuables to hide them from armies. Now social scientists have studied these coin stores to answer a long-standing Roman mystery.Historians have long debated Rome’s population size during the 1st century B.C. Starting in 28 B. C., censuses (人口普查) conducted under tile first Roman emperor showed the population at about 5 million--a 10-fold increase over that of the Roman Republic a century earlier. About a third of this jump can be explained by the extension of citizenship to Roman allies across Italy. But where did the rest of the people come from Some historians say the answer is simply population explosion. Others argue that the empire included women and children in its census, whereas the republic only counted adult males.To settle the debate, social scientist Peter Turchin and his colleague Walter Scheidel turned to coin stores. Amateur antiquities hunters armed with metal detectors have found hundreds of clay pots filled with silver coins, called denarii (古罗马便士), throughout Italy dating back to the Roman Empire. Turchin says these buried treasures can be used as a signal for times of social instability. People would hide their money during dangerous times, and if they were killed or displaced by war, they never took their treasure.Turchin and Scheidel combined numbers of coin stores from 250 B.C. to 100 B.C. with data from the Roman Republic censuses to check the relationship between them. For example, population dropped during the Second Punic War (布匿战争), and that coincides with a jump in coin stores dated to that time. Then, from data on coins stored from 100 B.C. to 50 C. E., the researchers inferred population during that era. The range predicted by the coin store model is about half that of the high estimate, indicating that civil wars reduced about 100 000 people, the researchers report online today. "We know this period was extremely violent with internal warfare across Italy," says Turchin. In all. the findings strengthen the hypothesis that the Augustan censuses were not confined to adult men."This paper has the great virtue of pushing the debate back toward actual evidence," says historian Ian Morris of Stanford University. But historian J. Geoffrey Kron of the University of Victoria in Canada, a proponent of the population explosion hypothesis, believes that it’s a stretch to connect increased coin storing with more deaths and that some people may have hid money from political opponents. He points out that one of the 1st century B.C. coin-store peaks coincides with a civil war that didn’t cause high casualties. "Increased coin stores only represent evidence of fears of violence," Kron says. "These fears may or may not have been justified by actual events.\ According to Peter Turchin and Walter Scheide, which shall be relied on to solve the dispute()

A) Amateur antiquities hunters.
B) metal detectors.
C) clay pots.
D) silver coins.

资料:兰先生的女儿年龄为10岁,预计18岁上大学,假设目前大学每年费用5000元,学费上涨率每年为5%,大学为4年制,教育投资收益率为10%,不考虑通货膨胀率,请根据问题为李女士作理财规划(根据给定资料回答以下各问题)。 假定也可选择在大学四年毕业后一次性缴费,那么兰先生女儿上大学的学费将约是( )。

A. 1万元
B. 2万元
C. 2.95万元
D. 3.59万元

答案查题题库