22.His________is 303-6574.A. telephone numberB. fax numberC. numberD. home
22.His________is 303-6574.
A. telephone number
B. fax number
C. number
D. home
相关考题:
阅读下面程序import javax.swing.JOptionPane;public class Comparison {public static void main(String args[]) {String firstNumber, //用户输入第1个数据变量secondNumber, //用户输入第2个数据变量result; //输出结果变量int number1, //用于比较的第1个数number2; //用于比较的第2个数//用户输入第1个数据的字符串firstNuinber=JOptionPane.showInputDialog("输入第1个整数:");//用户输入第2个数据的字符串secondNumber=JOptionPane.showInputDialog("输入第2个整数:");//将字符串转换为整数类型number1=Integer.parseInt(firstNumber);number2=Integer.parseInt(secondNumber);//初始化结果变量______//比较两个数据if(number1==number2)result+=number1+"=="+number2;if(number1! =number2) result+=number1+"!="+number2;if(number1<number2) result=result+"\n"+number1+"<"+number2;if(number1>number2) result=result+"\n"+number1+">"+number2;if(number1<=number2) result=result+"\n"+number1+"<="+number2;if(number1>=number2) result=result+"\n"+number1+">="+number2://显示结果JOptionPane.showMessageDialog(null,result."比较结果",JOptionPane.INFORMATION_MESSAGE);System.exit(0);}}为使程序能正确运行并得到合理的输出结果,初始化结果变量语句(下画线处)应是A.result=" ";B.result=nullC.result=number1D.result=number2
如果Number=3,判断下列命题的真假。 If Number = 3, judge the truth of the following propositions. (Number*Number)>=(2*Number)
如果Number=3,请指出下列语句的真与假。 If Number = 3, point out the truth and false of the following statements. Int(Number * Number) = Number * Number
如果Number=3.5,请指出下列表达式的真假。 If Number = 3.5, point out the truth or false of the following expressions. floor(Number * Number) == Number * Number
用递归函数求解斐波那契序列,在划线处填上正确语句。 int fib(number){ if (__________ || number == 2) return 1; else: return fib(number - 1) + fib(number - 2);A.number == 1B.number == 0C.number == 3D.number != 1
如果Number=3,下列命题为真。 If Number = 3, judge the truth of the following propositions. (Number*Number)>=(2*Number)
24、如果Number=7,下列命题为真。 If Number = 7, point out the truth or false of the following expressions. Sqrt(Number*Number ) == Int(Sqrt(Number*Number))
23、假定 number=4,下面哪个语句不会出错?A.print(format(number, "2d"), format(number ** 1.5, "4d"))B.print(format(number, "2d"), format(number ** 1.5, "4.2d"))C.print(format(number, "2d"), format(number ** 1.5, "4.2f"))D.print(format(number, "2f"), format(number ** 1.5, "4.2d"))
如果Number是整型变量,那么下面语句执行之后,Number=5。 If Number is an integer variable, Number = 5 after the following statement is executed. Number = Length_Of(“Wow!")