Menu

[solved] – Question 99434

Assign secretID with firstName, a space, and lastName. Ex: If firstName is Barry and lastName is Allen, then output is:
Barry Allen
#include <iostream>
#include <string>
using namespace std;

int main() {
string secretID;
string firstName;
string lastName;

cin >> firstName;
cin >> lastName;

/* Your solution goes here */

cout << secretID << endl;
return 0;
}

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *