Write a complete program that would print your last name, followed by a comma, followed by your first name.

LANGUAGE: C++

CHALLENGE:

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

SOLUTION:


#include <iostream>
using namespace std;
int main(){
    cout << "Gershwin,George";
}