3、下面的赋值语句( )不对的。
A: float f = 11.1;
B: double d = 5.3E12;
C: double d = 3.14159;
D: double d = 3.14D;
A: float f = 11.1;
B: double d = 5.3E12;
C: double d = 3.14159;
D: double d = 3.14D;
举一反三
- Which of the following assignment is not correct?() A: float f = 11.1; B: double d = 5.3E12; C: double d = 3.14159; D: double d = 3.14;.
- Which of the following assignment is not correct A: double f = 11.1; B: double d = 5.3E12; C: double d = 3.14159; D: float d = 3.14.
- 下面赋值语句不正确的是()。 A: floatf=11.1; B: doubled=5.3E12; C: doubled=3.14159; D: doubled=3.14D;
- 下面的赋值语句中错误的是( ) A: float f=11.1; B: double d=3.3e2; C: double d=3.23; D: double d=3.21d;
- 以下定义符号常量的语句正确的有____和____。 A: const double PI = 3.14159; B: double const PI = 3.14159; C: double PI = 3.14159; D: double pi;pi=3.14159;