0
Why Var4 is 0. I want to understand. I make this code. Thank you.
Var4= var1 / var2 https://code.sololearn.com/cd8NU5J0hAvN/?ref=app
3 Antworten
+ 1
Because you haven't set any value to var1, var2, var4
+ 1
Malick Diagne You catched exception because you cannot divide number with 0 value and the default value of var4 is 0. That's why it is 0.
0
I display var1 and var2?