I understand the concept of using the elementary operations. However, I just can not understand how to apply these:
Step 1 Set S= a , K= 0 and t= a
Step 2 While K < n
a.) t = t + d
b.) S= S + t
c.) K = K + 1
end while
Step 3 Print S.
I'm needing to find out how many elementary operation I will use.
I hope I done this right:
![]()


LinkBack URL
About LinkBacks