Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
I don't understand why the result is 11
3 Antworten
+ 4
It's simple look, we have
a = 25
b = 8
x = a/b
and we want the solution of
"x+b"
as, x=a/b putting the value of x in our equation. we get,
a/b+b
after putting the values of a & b
25/8 + 8
now (25/8 + 8 = 11.11....)
but since we have not taken any of the value with decimal point for answer we would ignore the digits after the decimal. so the answer is 11 only.
if any one of the value was given like a = 25.0 or b = 8.0 or both then the answer would be 11.11....
+ 1
thanks a lot
- 1
Got it.