有程序:LOGICALLL=.TRUE.READ(*,*)xIF(x.LT.0)THENL=.FALSE.ELSEWRITE(*,*)xENDIFIF(.NOT.L)WRITE(*,*)-xEND执行两次以上程序,若运行中的输入值分别为2.5和-1.0,则两次运行结果分别是:()
![](/upload/20220827/c85071da6ff0aadc10ebce6c25bb4f0d.png)
相似题目
-
有程序:DIMENSIONx(3,3)READ(*,*)xCALLSSl(x(1,2))ENDSUBROUTINESSl(x)DIMENSIONx(3)WRITE(*,*)x(2)END当输入1、2、3、4、5、6、7、8、9时,此程序执行后的输出结果为:()
-
下列程序执行时,需输入数据的记录个数必须为()DIMENSIONA(4,4)READ(*,*)AEND
-
在BASIC源程序中,要求READ与DATAA语句个数相同。()
-
有程序:READ(*,10)IA,IIF(IA.GE.125)THENI=I+10,ELSEI=I-10ENDIFWRITE(*,*)I10FORMAT(I2,I1)END执行上面的程序时,从键盘输入365,2,则运行后结果I的值是:()
-
Given that the current directory is empty, and that the user has read and write privileges to the currentdirectory, and the following: https://assets.asklib.com/images/image2/2018080115251951662.png Which statement is true?()
-
有程序:READ(*,*)xY=0.0IF=(xGT.0.0)THENY=1.0ELSEIF(x.GE.150)THENY=2.0ELSEY=3.0ENDIFWRITE(*,*)YEND当输入150时,此程序执行后的输出结果为:()
-
Given that the current directory is empty, and that the user has read and write privileges to the current, and the following: https://assets.asklib.com/images/image2/2018080117440516365.jpg Which statement is true?()
-
有程序:READ(*,100)A100FORMAT(3x,F6.2)WRITE(*,200)A200FORMAT(1x,F8.2)END当执行此程序时,从键盘输入1234567890↙,则程序的运行结果是:()
-
有程序:READ(*,50)SWRITE(*,100)S50FORMAT(1X,F7.3)100FORMAT(1X,F8.3)END执行此程序,由键盘输入123456789,则输出S的值为:()
-
有程序:DIMENSIONA(2,2)READ(*,*)ASUM=0DO10I=1,2D010J=1,210A(I,J)=A(I,J)+I+JWRITE(*,*)A(1,2)END当输入1、2、3、4时,此程序执行后的输出结果为:()
-
下列程序执行时,需输入数据的记录个数必须为:DIMENSIONA(4,4)READ(*,*)A………………END()
-
Given that the current directory is empty, and that the user has read and write privileges to the current directory, and the following: https://assets.asklib.com/images/image2/2018080115270239176.jpg Which statement is true?()
-
Given that the current directory is empty, and that the user has read and write permissions, and thefollowing: https://assets.asklib.com/images/image2/2018080110260954280.png Which statement is true?()
-
有程序:DIMENSION(4,4)READ(*,*)AWRITE(*,10)A10FORMAT(1x,6E9.2)END此程序执行后的输出结果的记录数为:()
-
Given that the current directory is empty, and that the user has read and write permissions, and the following: https://assets.asklib.com/images/image2/2018080115181895474.jpg Which statement is true?()
-
Read the following statements. Judge which statements are true and which statements are false.1 Confucius took non-action as the principal doctrine.
-
1.Now read the following sentences. Check True (T), False (F), or Not Mentioned (NM) in the box given below.Beth and Linda don’t have elder brothers.( )
-
3.Now read the following sentences. Check True (T), False (F), or Not Mentioned (NM) in the box given below.The two sisters see each other almost every day.( )
-
When people speak, they usually use \correct\ English with a proper grammatical structure. This is not always true when people read.
-
Direction: Read the following statement and decide whether it is True or False.The author thinks that we should take into consideration “whose aim” when trying to define the aims of education.
-
What is not a true friend from the text you read?
-
Read the passages on Page 41 and then decide “ true or false ” . Taking a bus is cheap and quick.()
-
在考生文件夹中有工程文件execise99.vbp和窗体文件execise99.frm。在名为Fom1的窗体上有一个名为Text1的文本框,有两个命令按钮(名称分别是Cmd1和Cmd2,标题分别是Read和Save)。要求程序运行后,单击Read按钮,将文本文件in99.txt中的所有数字读到数组arr中,并在文本框内显示出来。随后Read按钮变为无效;然后单击Save按钮,
-
Read the following statements and then decide whether each of them is true or false based on the information in the text. Write T for True and F for False in the black before each statement.2. () Peop