logo CodeStepByStep logo

ExpressionsNumbers2

Language/Type: VB expressions Mod

Trace the evaluation of the following expressions, and give their resulting values. Make sure to give a value of the appropriate type (such as including a .0 at the end of a Double).

3 * 4 + 2 * 3
2 + 19 Mod 5 - (11 * (5 \ 2))
2 + 2.5
26 Mod 10 Mod 4 * 3
(813 Mod 100) \ 3 + 2.4
4 * 3 \ 8 + 2.5 * 2
(5 * 7.0 / 2 - 2.5) / 5 * 2
(41 Mod 7) * 3 \ 5 + (5 \ 2) * 2.5
((89 Mod 10) \ 4) * 2.0 / 5 + (1.5 + 1.0 / 2) * 2

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.