Menu

[solved] – Question 99427

Print the two strings in alphabetical order. Assume the strings are lowercase. End with newline. Sample output:
capes rabbits
#include <iostream>
#include <string>
using namespace std;

int main() {
string firstString;
string secondString;

cin >> firstString;
cin >> secondString;

/* Your solution goes here */

return 0;
}

Expert Answer


OR


Leave a Reply

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