Which of the following is a valid real constant in exponent form?
-
172.E5
-
1.7E
-
0.17E2.3
-
-0.172E-3
D
Correct answer
Explanation
This option is correct as we know that a real constant in exponent form has two parts: a mantissa and an exponent. The mantissa must be either an integer or a proper real constant. The mantissa is followed by a letter E or e and the exponent, the exponent must be an integer. As the given option statisfies all these conditions, hence it is a valid real constant in exponent form.