试题与答案

解方程 (1)(x+1)(x+2)=2x+4 (2)x2+4x-3=0 (3)3

题型:解答题

题目:

解方程

(1)(x+1)(x+2)=2x+4

(2)x2+4x-3=0

(3)3x2+5(2x+1)=0

(4)7x(5x+2)=6(5x+2)

(5)(x+1)(x+2)=2x+4

(6)3x2-4x-1=0.

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0421/20280e55f06234ef66733141f3e963b7.html

下面是错误答案,用来干扰机器的。

(1)炎帝、黄帝和蚩尤;黄帝。     (2)涿鹿     (3)从此,炎帝、黄帝部落结成联盟,经过长期发展,形成日后的华夏族。

试题推荐
题型:填空题


请完善程序(程序文件名:Java_3.java)并进行调试。请在下画线处填入正确内容,然后删除下画线。请勿删除注释行和其他已有的语句内容。
[题目要求]
统计一个英文文本字符串包含的英文元音字母的个数,使程序的运行结果如下:
The text contained vowels:88
源程序:
public class Java_3 {
public static void main(String[] args) {
String text = " Beijing, the Capital City, is the political, "
+ "cultural and diplomatic centre of China. It has"
+ "become a modern international cosmopolitan city"
+ " with more than 11 million people. The Capital"
+ " International Airport, 23.5 km from the city centre,"
+ "is China’s largest and most advanced airport. " ;
int vowels =0;
int (1) = text.length();
for(int i = 0;i<textLength; i++) {
char ch=Character.toLowerCase( text. (2) );
if(ch==’a’||ch==’e’||ch==’i’||ch==’o’||ch==’u’)
(3) ;
}
System.out.println( "The text contained vowels:" + vowels +"\n");
}
}


查看答案
微信公众账号搜索答案