List of all available Websheets
Viewing cpp/cout/two-num 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 | Write a program to output <tt>345 754</tt> on a line. |
Public permissions | |
Remarks Comments, history, license, etc. | Copied from problem cpp/cin/building_floor (author: redekopp@usc.edu) Copied from problem cpp/cin/average (author: redekopp@usc.edu) Copied from problem cpp/var-expr/in_n_days (author: redekopp@usc.edu) Copied from problem cpp/var-expr/char_arith (author: redekopp@usc.edu) Copied from problem cpp/var-expr/hello (author: daveagp@gmail.com) |
Engine | |
Template / Reference solution | // iostream allows access to 'cout'
using namespace std; // Execution always starts at the main() function int main() { \[ cout << 345 << " " << 754 << endl; \show: cout << 345 754 << endl; // Bad ]\ return 0; } |
C++ test suite json list of stdin/args tests e.g. [{"stdin":"hi", "args":["4", "5"]}, {"stdin":"noargs"}] to just run once with no input use [{}] | [ {"stdin":"", "args":[]} ] |
Solution visibility |
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'.