...
/Free Response Question 2: Expression Evaluation
Free Response Question 2: Expression Evaluation
In this lesson, you will use your knowledge about data types, operators, and type casting to solve a coding challenge.
We'll cover the following...
Unlike the previous free-response question (FRQ), this FRQ tests your ability to read code and keep track of variables’ values.
The task at hand
On the surface, the challenge seems to be simple. The code below presents a few arithmetic operations on three variables x
, y
, and z
. You need to keep track of the changes in all of these variables. In ...