Hello. Please see attached DS2 program. My understanding is as follows: In the method SumPlus , V1 receives a datatype of double. However, when called/instantiated, TotalA is converted ( or coerced ? )from char to double. This enables addition in the method without a compile error, ( Is my thinking correct so far ? ) Going through the do ..end loop, we should, in my mind, have the following values as we go through the 3 iterations: Iteration1 TotalB = 1 TotalA = 101 GrandTot = 102 ( 101 + 1 ) Iteration2 TotalB = 2 TotalA = 101 GrandTot = 103 ( 102 + 1 ) Iteration1 TotalB = 3 TotalA = 101 GrandTot = 104 ( 103 + 1 ) The answer says TotalB = 4 ! Please help. Thanks. Odesh.
... View more