Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- /* run this program using the console pauser or add your own getch, system("pause") or input loop */
- using namespace std;
- int main(int argc, char** argv) {
- int wiek = 0;
- cout<<"Podaj swoj wiek:";
- cin>>wiek;
- wiek = 2016-wiek;
- cout<<"Urodziles sie w ";
- cout<<wiek;
- cout<<" roku";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement