List of all available Websheets
Viewing cpp/cs102/lab2/expr2c by redekopp@usc.edu. You have unsaved changes. Log in above to create, edit, preview and publish Websheets.
Property | Value |
---|---|
Description html markup shown to student | <p>Assume <strong>integers</strong> x, y, and z are 5, 6, and 4, respectively (i.e. <code>x=5, y=6, z=4</code>). Further assume the <strong>double</strong>, <code>w=3.5</code>.</p> <p>What will the following C++ expression evaluate to (enter the numeric answer below) or type <tt>na</tt> if the expression cannot be evaluated.</p> <code> (y+w)%x </code> |
Remarks Comments, history, license, etc. | Copied from problem cpp/cs102/lab2/expr2b (author: redekopp@usc.edu) Copied from problem cpp/cs102/lab2/expr2a (author: redekopp@usc.edu) Copied from problem cpp/cs102/lab2/expr1h (author: redekopp@usc.edu) |
Engine | |
Correct answer |
Note: problems are open-source by default (see 'Public permissions'). Assumed license for open problems is Creative Commons 4.0 Attribution-ShareAlike unless specified in 'Remarks'.