Not logged in. Log in with GitHub. About Websheets.

List of all available Websheets


Viewing cpp/cs103/hw-variables/output by daveagp@gmail.com. You have unsaved changes. Log in above to create, edit, preview and publish Websheets.
PropertyValue
Description
html markup
shown to student
 
What does the following program output? 
<pre>
#include &lt;iostream&gt;
using namespace std;
int main() {
   cout &lt;&lt; 2 * 5;
   cout &lt;&lt; 3;
   return 0;
}
</pre>
(Feel free to run it on your own machine if you want. If you
don't have the VM installed yet, feel free to use 
the <a href='javascript:websheets.load("cpp/scratch")'>"scratch" websheet here</a>.)
Engine
Correct answer


Optional properties:

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'.