Question: Assume this: int a = 7 ; double b = 0.4 ; Evaluate each of the following expressions by hand. Show your work, using a
Assume this:
int a = 7; double b = 0.4;
Evaluate each of the following expressions by hand. Show your work, using a separate line for each evaluation step. Check your work by writing and executing a program that evaluates these expressions and outputs the results.
- a + 3 / a
- 25 / ((a - 4) * b)
- a / b * a
- a % 2 - 2 % a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
