- #1
ineedhelpnow
- 651
- 0
Print the two strings in alphabetical order. Assume the strings are lowercase. End with newline. Sample output:
capes rabbits
Sample program:
i tried a few different ways but it won't work. do i need to use if else statements?
capes rabbits
Sample program:
Code:
#include <iostream>
#include <string>
using namespace std;
int main() {
string firstString;
string secondString;
firstString = "rabbits";
secondString = "capes";
<STUDENT CODE>
return 0;
}