#include <iostream>
#include <string>
using namespace std;
int main() {
   string slowo;
    cout<<"Podaj slowo: ";
    cin>>slowo;
    if(slowo.length()>3) {
        slowo.erase(0,3);
        cout<<"Po usunieciu pierwszych 3 znokow: " << slowo << endl;
    }else {
        cout <<"Slowo jest za krotkie (dlugosc = " << slowo.length()<<")" << endl;
    }
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: