I = PRT
21 = 200 * 0.035 * T
21 = 7T
3 years = T
Hope this will help u....
Answer:
The minimum number of assignment statements needed is 5
Step-by-step explanation:
To write the algorithm, we apply the strategy of interchanging the values of variables in the assignment statements.
Assume "tmp" is the new variable, let assign tmp to w
The algorithm is:
Procedure exchange (w,x,y,z: integers)
tmp := w
w := x
x := y
y := z
z := tmp
return (w,x,y,z)
end
From the algorithm, it is obvious that there will be a minimum of 5 assignment statements needed.
I would definitely use a calculator for this one. Multiply each set of numbers to get an answer for each, then subtract the two I believe. I got 6288547912.