Question

(b) (5 pts) Code the following program: For each z from 1 to 10 and for each y from 1 to 20,keep accumulating the current r and y to z

during r + y < 20. Immediately print z and end the program once r + y > 20.

Fig: 1