Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Uzytkownik podaje imie i nazwisko. Program podaje inicjaly
- #include <iostream>
- #include <string>
- using namespace std;
- string imie;
- string nazw;
- char i;
- char n;
- main()
- {
- cout << "Imie: ";
- cin >> imie;
- cout << "Nazwisko: ";
- cin >> nazw;
- cout << imie[0] << "." << nazw[0];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement