CodeLab
Suppose your name was George Gershwin. Write a complete program that would print your last name, followed by a comma, followed by your first name. Do not print anything else (that includes blanks).
#include <iostream> using namespace std; int main(){ cout << "Gershwin" << "," << "George"; }
Write a complete program that prints Hello World to the screen
#include <iostream> using namespace std; int main(){ cout << "Hello World"; }
Write a literal representing the integer value zero.
0
Write a statement that prints Hello World to the screen.
cout << "Hello World";
Suppose your name was Alan Turing. Write a statement that would print your last name, followed by a comma, followed by your first name. Do not print anything else (that includes blanks).
cout << "Turing" << "," << "Alan";
Write a statement that prints the following to standard output: i= Just write one statement that generates the message above: do not generate any extraneous spaces. Do not declare variables, do not write a main() function, do not write a whole program.
cout << "i=";