Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- #include <cstdlib>
- using namespace std;
- int main(){
- string s, s_temp;
- getline(cin, s_temp);
- getline(cin, s);
- char ch = s_temp[0];
- cout << ch << endl << s;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement