Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string.h>
- using namespace std;
- void autor(string imienazwisko, string klasa, string data)
- {
- cout<<"Imie i nazwisko: "<<imienazwisko<<endl;
- cout<<"Klasa: " <<klasa<<endl;
- cout<<"Data utworzenia programu: "<<data<<endl;
- }
- int main()
- {
- string a, b, c;
- cout<<"Podaj imie i nazwisko (bez spacji)"<<endl;
- cin>>a;
- cout<<"Podaj klase, z ktorej jestes"<<endl;
- cin>>b;
- cout<<"Podaj date utworzenia programu"<<endl;
- cin>>c;
- autor(a, b, c);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement