Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (Incercare)
- 5. #include<iostream>
- #include<cstring>
- using namespace std;
- char nume[101], prenume[101];
- int main()
- {
- int i, l;
- cin>>nume>>prenume;
- strcpy(prenume+1, ".");
- cout<<prenume<<" "<<nume;
- return 0;
- }
Add Comment
Please, Sign In to add comment