0
What is meaning of int total =0?what happens if int total=2 or 5 ...
2 odpowiedzi
+ 1
Total=0 is initialise the total value with 0 generally 0 is taken as initial value so we can get correct value
You can initialise with any value like if you initialise with 2 then value in output will be greater or lesser then 2 according to the operation performed
0
Thank u bro