6
Problem #3
8
Total Points
20
Problem #1:
The variable X starts with the value 0.
The variable Y starts with the value 5.
Add 1 to X.
Add 1 to Y.
Add X and Y, and store the result in Y.
Display the value in Y on the screen.
Output #1:
Pseudocode #1:
Problem #2:
The variable J starts with the value 10.
The variable K starts with the value 2.
The variable L starts with the value 4.
Store the value of J times K in J.
Store the value of K times L in L.
Add J and L, and store the result in K.
Display the value in K on the screen.
Output #2:
Pseudocode #2: