Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstring>
- using namespace std;
- int main()
- {
- string s1;
- getline(cin,s1);
- cout<<s1.substr(2,5);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement