226k views
3 votes
What is the value of x after this statement?

double x = 2.0 / 5.0;

User Weima
by
3.7k points

2 Answers

2 votes

Answer:

Exact Form:

x

=

2

_

5

Decimal Form:

x = 0.4

Step-by-step explanation:

User Charandeep Singh
by
3.4k points
8 votes

Answer:

x ≈ 0.63

Step-by-step explanation:

x^2 = 2.0/5.0

x^2 = 0.4


√(x) =
√(0.4\\)

x = 0.63245553203

User Yaka
by
3.5k points